~bzr-pqm/bzr/bzr.dev

On bzr.dev, Key.intern() saves a little bit of memory
we get 107.5MB peak vs 110.4MB peak w/ 6MB for the interned dict.
However, for lp it is a wash. 293.5MB peak both ways, with 24MB in the intern dict.
Then again, if we shrink the intern dict, we can get down to at least 1/3rd the size,
and possibly more depending on whether the dict is using 4:1 vs 2:1 packing. It should
be using 2:1, though, since there are 792k entries. (vs 522k string entries....)
We might also consider only interning the Key if the key width is 1.

It makes sense for sha1 keys, though we would lose a little bit for revisions => inventories
=> file_keys.
However, since sha1 keys are 425k out of all 792k keys, it might be worth investigating.
Note that if we get the chk_map deserializer et al using Key as well, that will
help get some common references in the inventory parsing code.
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 4580.5.3 15 years ago John Arbash Meinel Change the Makefile to stage things into a build d 1.2 KB Diff Download File
.rsyncexclude 1185.33.36 18 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.25 15 years ago John Arbash Meinel Using Key_New() rather than Key(PyTuple_New()) get 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