~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
..
configobj 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Diff
effbot 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
elementtree 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
tests 2613.1.2 17 years ago Martin Pool Move bencode tests into util.tests Diff
__init__.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Empty Diff Download File
_bencode_py.py 4398.5.4 15 years ago John Arbash Meinel A bit of code restructuring. Move bzrlib/_bencode_ 4.3 KB Diff Download File
simplemapi.py 3943.8.1 15 years ago Marius Kruger remove all trailing whitespace from bzr source 8.2 KB Diff Download File