~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5365.5.12.

  • Committer: John Arbash Meinel
  • Date: 2010-08-04 04:36:26 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100804043626-pwawyjkb6r6wzs9a
Make _LeafNode inherit from dict (is-a rather than have-a)

It avoids having another object layer, and indirection via attribute
and forwarding functions.

TIMEIT shows:
  14.6us raw dict
  26.6us subclass
  57.9us wrapper class

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: