~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5365.5.9.

  • Committer: John Arbash Meinel
  • Date: 2010-08-04 01:52:14 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100804015214-5dbdub9p0qyc07dp
Add some tests that key lookup works.

Timing shows that looking up all 120 keys takes 205us, using bisect takes 184us.
So better, but not great. I'm a bit surprised it isn't faster, but perhaps
the comparison is a lot less of total time than the conversion to
python objects.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: