]> arthur.barton.de Git - bup.git/commit
Move .idx file writing to C bup-0.23
authorBrandon Low <lostlogic@lostlogicx.com>
Sun, 13 Feb 2011 19:17:06 +0000 (11:17 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 14 Feb 2011 08:58:36 +0000 (00:58 -0800)
commit6962e3326fd6ebc87685f7292b3a06efc268c003
treeead688a9e54614ab851e84f9c9c9e5b81a6ae369
parentf97b71f88d55096117ad0c1430a207bdab5d1cde
Move .idx file writing to C

This was a remaining CPU bottleneck in bup-dumb-server mode.  In a quick
test, writing 10 .idx files of 100000 elements on my netbook went from
50s to 4s.  There may be more performance available by adjusting the
definition of the PackWriter.idx object, but list(list(tuple)) isn't
bad.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
cmd/midx-cmd.py
lib/bup/_helpers.c
lib/bup/git.py
lib/bup/t/tgit.py