~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 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 6.1 KB Diff Download File
dir_exporter.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 2.6 KB Diff Download File
tar_exporter.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 3.4 KB Diff Download File
zip_exporter.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 3.6 KB Diff Download File