~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3377.3.9.

  • Committer: John Arbash Meinel
  • Date: 2008-04-22 21:03:18 UTC
  • mto: This revision was merged to the branch mainline in revision 3407.
  • Revision ID: john@arbash-meinel.com-20080422210318-z0mc5q4hdxsur9qm
Small tweaks to _do_query
Don't call set.update() with a generator, as it is fairly slow, especially
if the generator is likely to be empty.
Only 1 in 4 had data, and lsprof claimed 4s => 0.3s for set.update(),
and 7.3 => 1.13 as the overhead in _do_query versus just the
get_parent_map() cost.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: