]> arthur.barton.de Git - bup.git/commit
midx4: midx2 with idx backreferences
authorBrandon Low <lostlogic@lostlogicx.com>
Mon, 7 Feb 2011 06:06:08 +0000 (22:06 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 7 Feb 2011 09:31:49 +0000 (01:31 -0800)
commitccfa3bd44cd75ab4a8591a812618597effbe5bd9
treec6c631282d1f2eaf0dbb7236580c0d96d57a81f1
parentdde9f9a20a56df854393033501fc79cf233b42a2
midx4: midx2 with idx backreferences

Like midx3, this adds a lookup table of 4 bytes per entry to
reference an entry in the idxnames list.  2 bytes should be plenty, but
disk is cheap and the table will only be referenced when bup server gets
an object that's already in the midx.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
cmd/midx-cmd.py
cmd/server-cmd.py
lib/bup/git.py
lib/bup/helpers.py