~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2158.3.1.

  • Committer: Dmitry Vasiliev
  • Date: 2006-12-01 10:44:42 UTC
  • mto: (2196.2.1 knit_index_optim)
  • mto: This revision was merged to the branch mainline in revision 2212.
  • Revision ID: dima@hlabs.spb.ru-20061201104442-57108aafbad6498c
KnitIndex tests/fixes/optimizations

 - Added _KnitIndex tests.
 - Fixed bug with undecoded version ids.
 - Extracted the knit index file parsing code from __init__() into _load_data()
   method.
 - Converted loops into list comprehensions where appropriate.
 - Localized attributes for faster access inside loops where appropriate.
 - Added forgotten import.
 - Removed trailing whitespaces.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: