Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/m4/po.m4
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-24 17:48:54 -0600
committerAllan McRae <allan@archlinux.org>2011-02-04 09:55:45 +1000
commit5dae577a87795e7666f05613cf9aa7207fd17346 (patch)
tree5e898c5c7290e83bf6da41c9bfd6293a24269d56 /m4/po.m4
parente17b0446bd815f7b25f5bf0b838ef3d02d4eb64e (diff)
Get estimated package count when populating databases
This works for both local and sync databases in slightly different ways. For the local database, we can use the directory hard link count on the local/ folder. For sync databases, we use the archive size coupled with some computed average per-package sizes to determine an estimate. This is currently a dead assignment once calculated, but could be used to set the initial size of a hash table. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'm4/po.m4')
0 files changed, 0 insertions, 0 deletions