~bzr-pqm/bzr/bzr.dev

  • Committer: John Arbash Meinel
  • Date: 2009-06-04 16:06:44 UTC
  • Revision ID: john@arbash-meinel.com-20090604160644-gtr5g8vsr9ufvvb3
One of the biggest wins to date, use PyList_Append directly.

Our primary data structure is a List, so optimizing this case helps a lot.
The main win is avoiding all of the generic function calls to append items
to the current list.

Note that if we required Pyrex 0.9.8+ we could use:
cdef list result
result = []
result.append()
and wouldn't have to define the PyList_Append functionality manually.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 766 bytes Diff Download File
groupcompress_repo.py 4398.5.2 15 years ago John Arbash Meinel Merge the chk serializer, and update it for the ne 48.9 KB Diff Download File
knitrepo.py 4280 15 years ago Canonical.com Patch Queue Manager (jam) Change _fetch_uses_deltas = False for CHK re 19.2 KB Diff Download File
pack_repo.py 4343.3.33 15 years ago John Arbash Meinel Clear KeyDependencies on abort/suspend/commit_writ 116 KB Diff Download File
weaverepo.py 4280 15 years ago Canonical.com Patch Queue Manager (jam) Change _fetch_uses_deltas = False for CHK re 27 KB Diff Download File