-
Committer:
John Arbash Meinel
-
Date:
2008-08-29 17:13:30 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3679.
-
Revision ID:
john@arbash-meinel.com-20080829171330-mrui49146o15ak98
Updates to GraphIndex processing.
If _read_and_parse() ends up reading the whole index, pass that
on to _buffer_all() rather than doing the normal bisect code.
This happens a lot when reading indexes over remote transports
which read a 64kB page at a time. The old code would end up
reading the whole file, parsing it into bisect regions, and
then reading the whole file again in the next call.
This also includes refactoring of the graph index test suite
to pull out a lot of redundant code into helper functions.