diff options
author | Julian Andres Klode <jak@debian.org> | 2016-01-07 16:16:06 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-01-07 16:17:51 +0100 |
commit | 40940e63a4dd3c7ef09ea1175e189350457b7270 (patch) | |
tree | 07893b75aa7bd1ffad1fa252456117800e3d3516 /methods/gzip.cc | |
parent | df46a87ab6b67019277884f7ae990af26080280d (diff) |
CopyFile: Use 64 * 1024 instead of 64000 as buffer size
This is a multiple of the page size and thus results in less
page faults, speeding up copying.
Also, while we're at at, unify all uses of that size in a
constant variable APT_BUFFER_SIZE.
Diffstat (limited to 'methods/gzip.cc')
0 files changed, 0 insertions, 0 deletions