~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2008-12-09 21:35:49 UTC
  • mto: This revision was merged to the branch mainline in revision 3888.
  • Revision ID: john@arbash-meinel.com-20081209213549-yc1mqv3l5gun9c63
Start working on a FIFOCache.

This is designed to have less runtime cost than the LRUCache.
Mostly because we don't have to do any recording work on *access*
only on update or delete.
As such, we subclass dict directly, because experiments show that
it performed the best. Unfortunately, even though we don't have
a custom __getitem__ implementation, it is still approx 2x slower
than using a raw dict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2804
2804
                   'bzrlib.tests.test_errors',
2805
2805
                   'bzrlib.tests.test_extract',
2806
2806
                   'bzrlib.tests.test_fetch',
 
2807
                   'bzrlib.tests.test_fifo_cache',
2807
2808
                   'bzrlib.tests.test_ftp_transport',
2808
2809
                   'bzrlib.tests.test_foreign',
2809
2810
                   'bzrlib.tests.test_generate_docs',