~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 4.5 KB Diff Download File
branch.py 4288.1.7 15 years ago Robert Collins Add new remote server verb Branch.set_parent_locat 11.3 KB Diff Download File
bzrdir.py 4307.2.2 15 years ago Robert Collins Lock repositories created by BzrDirFormat.initiali 17.6 KB Diff Download File
client.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 9.3 KB Diff Download File
medium.py 4326.2.3 15 years ago Jonathan Lange Use as a dict. 34.2 KB Diff Download File
message.py 4294.2.7 15 years ago Robert Collins Start building up a BzrDir.initialize_ex verb for 13.2 KB Diff Download File
packrepository.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
protocol.py 2694.5.4 15 years ago Jelmer Vernooij Move bzrlib.util.bencode to bzrlib._bencode_py. 49.5 KB Diff Download File
repository.py 4398.5.1 15 years ago John Arbash Meinel Merge the bencode implementation. 25.3 KB Diff Download File
request.py 4294.2.8 15 years ago Robert Collins Reduce round trips pushing new branches substantia 21.6 KB Diff Download File
server.py 4370.4.7 15 years ago Jelmer Vernooij Review feedback from Ian. 13.8 KB Diff Download File
vfs.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 7 KB Diff Download File