Commit 7eb7e03db81e9356e897235668e4d19bea548f9c

J Wyman 2015-05-07T08:50:12

Adjusting stream buffer size to 64KB 64K is optimal buffer size per https://technet.microsoft.com/en-us/library/cc938632.aspx

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/filter.c b/src/filter.c
index 8bd7f4d..a38a54a 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -875,7 +875,7 @@ void stream_list_free(git_vector *streams)
 	git_vector_free(streams);
 }
 
-#define STREAM_BUFSIZE 10240
+#define STREAM_BUFSIZE 65536
 
 int git_filter_list_stream_file(
 	git_filter_list *filters,