summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/pkghash.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-01-29 02:47:31 +0100
committerAllan McRae <allan@archlinux.org>2011-02-04 00:55:45 +0100
commitc9820ec97b417d33dc37eb589f069766f1068ea1 (patch)
tree4cd5aa5216ddc5d25e294ce841b42b4e84ac95f7 /lib/libalpm/pkghash.h
parentd843c86b7b7cbf376716817e7c2c55b1f9360a72 (diff)
downloadpacman-c9820ec97b417d33dc37eb589f069766f1068ea1.tar.gz
pacman-c9820ec97b417d33dc37eb589f069766f1068ea1.tar.xz
Slightly more efficient rehash size selection
While probably still not optimal in terms of everyday usage in pacman, this reduces the absolute size increase to "more reasonable" levels. For databases greater than 5000 in size, the minimum size increase is used which is still on the order of a 10% increase. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/pkghash.h')
0 files changed, 0 insertions, 0 deletions