summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/proxy.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-01-07 16:16:06 +0100
committerJulian Andres Klode <jak@debian.org>2016-01-07 16:17:51 +0100
commit40940e63a4dd3c7ef09ea1175e189350457b7270 (patch)
tree07893b75aa7bd1ffad1fa252456117800e3d3516 /apt-pkg/contrib/proxy.cc
parentdf46a87ab6b67019277884f7ae990af26080280d (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 'apt-pkg/contrib/proxy.cc')
0 files changed, 0 insertions, 0 deletions