]> git.saurik.com Git - apt.git/commit
CopyFile: Use 64 * 1024 instead of 64000 as buffer size
authorJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 15:16:06 +0000 (16:16 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 15:17:51 +0000 (16:17 +0100)
commit40940e63a4dd3c7ef09ea1175e189350457b7270
tree07893b75aa7bd1ffad1fa252456117800e3d3516
parentdf46a87ab6b67019277884f7ae990af26080280d
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.
apt-pkg/contrib/fileutl.cc