]> git.michaelhowe.org Git - packages/b/bup.git/commit
MultiPackIndex: use .midx files if they exist.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 25 Jan 2010 06:24:16 +0000 (01:24 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 25 Jan 2010 06:29:55 +0000 (01:29 -0500)
commitd2258c284d9f34ee7a0e5ef101d778386afb6c62
tree12bd13dfe8432b342d9a2fb1cc78099a3a72830f
parent4219142067dfe8ef4a80b56e2ff11eb0bf736021
MultiPackIndex: use .midx files if they exist.

Wow, using a single .midx file that merges my 435 megs of packfile indexes
(across 169 files) reduces memory churn in memtest.py by at least two orders
of magnitude.  (ie. we need to map 100x fewer memory pages in order to
search for each nonexistent object when creating a new backup)  memtest.py
runs *visibly* faster.

We can also remove the PackBitmap code now, since it's not nearly as good as
the PackMidx stuff and is now an unnecessary layer of indirection.
cmd-midx.py
git.py