~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4413.4.2.

  • Committer: John Arbash Meinel
  • Date: 2009-06-05 18:03:40 UTC
  • mto: (4413.5.2 1.16-chk-direct)
  • mto: This revision was merged to the branch mainline in revision 4442.
  • Revision ID: john@arbash-meinel.com-20090605180340-3dqyamsptwix22m0
Rewrite the shortcuts.

Keep the single entry key_filter shortcut, because it can be heavily tuned
to not have to build any structures, etc.
Do a bit more optimizing in the multi-key cases. If all of the keys are full-width,
then we can still do optimized self._items[search_key] lookups.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: