~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5365.5.6.

  • Committer: John Arbash Meinel
  • Date: 2010-08-03 23:46:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100803234618-iqbgjncawrqp1wt1
For a single page test, we parse() still takes 47us
parse().all_keys() takes 66.6us if we don't intern, and 86.9us if we do.
(10us is hash() time) We'll need to think about whether interning is 
worthwhile. For some cases we are optimizing for, it will bloat.

However, if we only do keys that we actually return, then likely we are
ok, and ahead to intern. Because *those* keys will then get used to
read chk maps, or have been read from them.

So I'll leave intern() in for now.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: