~bzr-pqm/bzr/bzr.dev

Adding a StaticTupleInterner class.

Functions basically like a dict, but with less memory overhead.
(well, possibly more like a set that also implements __getitem__).
For now, it allows arbitrary objects, though I'm considering
only allowing StaticTuple objects for some ease-of-implementation.
Especially if I find I want to cache the hash() on StaticTuple for
performance, then I may want to expose that in StaticTupleInterner.


For now, this only compiles via Cython, but only because I'm using
'inline' in one place.
It wouldn't be too hard to factor that out, or make it conditional
with an IF and DEF bits.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 4679.3.58 15 years ago John Arbash Meinel Adding a StaticTupleInterner class. Functions bas 1.2 KB Diff Download File
.rsyncexclude 1185.33.36 19 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 4325.3.4 15 years ago Johan Walles Merge from upstream. 150 bytes Diff Download File
File bzr 4596.1.7 15 years ago Martin Pool Bump version to 2.1 5.6 KB Diff Download File
bzr.ico 3688.3.3 16 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
INSTALL 2696.2.4 17 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 4655 15 years ago Canonical.com Patch Queue Manager (mbp) make check no longer repeats the test run in 12.1 KB Diff Download File
NEWS 4675.1.1 15 years ago Robert Collins Merge 2.0. 386 KB Diff Download File
profile_imports.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 5.5 KB Diff Download File
README 3286 16 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 4679.3.58 15 years ago John Arbash Meinel Adding a StaticTupleInterner class. Functions bas 26.8 KB Diff Download File
TODO 2382.2.5 17 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File