~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 4325.3.8 15 years ago Johan Walles Merge from upstream. 5.6 KB Diff Download File
test_pull.py 4000.5.23 15 years ago Jelmer Vernooij Review feedback from Ian; add some comments about 9.4 KB Diff Download File
test_push.py 4211.1.6 15 years ago Jelmer Vernooij Review from Ian. 16.6 KB Diff Download File
test_update_revisions.py 4325.3.8 15 years ago Johan Walles Merge from upstream. 2.7 KB Diff Download File