Merge branch 'ns/raise-write-index-buffer-size'
Raise the buffer size used when writing the index file out from (obviously too small) 8kB to (clearly sufficiently large) 128kB. * ns/raise-write-index-buffer-size: read-cache: make the index write buffer size 128K
This commit is contained in:
commit
ada7c5fae5
@ -2465,7 +2465,7 @@ int repo_index_has_changes(struct repository *repo,
|
||||
}
|
||||
}
|
||||
|
||||
#define WRITE_BUFFER_SIZE 8192
|
||||
#define WRITE_BUFFER_SIZE (128 * 1024)
|
||||
static unsigned char write_buffer[WRITE_BUFFER_SIZE];
|
||||
static unsigned long write_buffer_len;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user