~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4679.9.13.

  • Committer: John Arbash Meinel
  • Date: 2009-10-21 20:50:04 UTC
  • mto: This revision was merged to the branch mainline in revision 4771.
  • Revision ID: john@arbash-meinel.com-20091021205004-q81ipjjhdy2fl3xy
Try out interning of some of the strings.

Doesn't seem to have a serious impact.
If we only have a 2-deep tree (1 internal, 1 leaf), all the internal nodes
are 1-byte wide anyway, so they are already unique (single chars).
Interning the values is a slight net loss. A bit suprising. At an average
of 21 values per node, (and an average of 1 change per node) I would have
thought we would have more overlap in values.
I'll probably revert this as the meager to nil benefit doesn't outweigh
the complexity.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: