~bzr-pqm/bzr/bzr.dev

  • Committer: John Arbash Meinel
  • Date: 2009-06-11 21:09:18 UTC
  • mto: (4371.4.5 vila-better-heads)
  • Revision ID: john@arbash-meinel.com-20090611210918-mk52ural4dbxteax
Change _KnownGraph.parents to be a tuple rather than a list.
We know the size as soon as we walk to a map entry.
This way, we save a malloc, and have slightly smaller objects. Not a huge
difference, but a small one.
This changes KnownGraph(OOo_parent_map) time from 922ms down to 848ms, or
about a 10% savings for __init__ time.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4360.5.4 15 years ago Robert J. Tanner Merge 1.15.1 back to trunk 9.2 KB Diff Download File
text.py 4284 15 years ago Canonical.com Patch Queue Manager (Jelmer) Prompt for user names for http if they ar 8.9 KB Diff Download File