[PATCH] KnitIndex tests/fixes/optimizations (was: KnitIndex optimizations)

Dmitry Vasiliev lists at hlabs.spb.ru
Fri Nov 24 15:11:22 GMT 2006


Brief overview of the changes in the attached patch:

- 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.

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knit_index.patch
Type: text/x-patch
Size: 34771 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061124/050972a2/attachment.bin 


More information about the bazaar mailing list