glib r6735 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6735 - trunk/gio
- Date: Wed, 19 Mar 2008 12:16:20 +0000 (GMT)
Author: alexl
Date: Wed Mar 19 12:16:20 2008
New Revision: 6735
URL: http://svn.gnome.org/viewvc/glib?rev=6735&view=rev
Log:
2008-03-19 Alexander Larsson <alexl redhat com>
* gfile.c:
(copy_stream_with_progress):
Bump block side for copy to 64k to minimize
overhead for low latency links. (#523015)
Modified:
trunk/gio/ChangeLog
trunk/gio/gfile.c
Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c (original)
+++ trunk/gio/gfile.c Wed Mar 19 12:16:20 2008
@@ -2124,7 +2124,7 @@
{
gssize n_read, n_written;
goffset current_size;
- char buffer[8192], *p;
+ char buffer[1024*64], *p;
gboolean res;
goffset total_size;
GFileInfo *info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]