/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 4413.5.6.

  • Committer: John Arbash Meinel
  • Date: 2009-06-08 18:15:08 UTC
  • mto: This revision was merged to the branch mainline in revision 4461.
  • Revision ID: john@arbash-meinel.com-20090608181508-p2p2oqiy9e6bu0in
Clean up the calls for '_create_inv_from_null' so they use the apis correctly.

In the end this shaves off as much as 2s (15.5s => 13.5s) for an initial commit of
a mysql tree. Some of that is potentially the InternalNode.map() fix, some of it is
not going through a regular Inventory and then back into an apply_delta loop, etc.

Stuff like InternalNode.map() has 2 node._current_size() calls, so that it can see
if the size changed so it knows to check for remap, etc, is wasted on an initial
build. And optimizing the 'build-from-scratch' is somewhat reasonable, since it is
the only time that we should be dealing with that many objects.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: