mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Bump block side for copy to 64k to minimize overhead for low latency
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) svn path=/trunk/; revision=6735
This commit is contained in:
committed by
Alexander Larsson
parent
16484fd175
commit
53f36510be
@@ -2124,7 +2124,7 @@ copy_stream_with_progress (GInputStream *in,
|
||||
{
|
||||
gssize n_read, n_written;
|
||||
goffset current_size;
|
||||
char buffer[8192], *p;
|
||||
char buffer[1024*64], *p;
|
||||
gboolean res;
|
||||
goffset total_size;
|
||||
GFileInfo *info;
|
||||
|
Reference in New Issue
Block a user