• Vincent Pelletier's avatar
    CMFCategory: Do not use __getitem__ to access a subobject. · 97480b84
    Vincent Pelletier authored
    It is extremely slow for some reason on large BTreeFolders inside
    BTreeFolder2's has_key (even on warm caches). Using get instead is
    significantly faster.
    Found by chance, calling getAcquiredCategoryList on a random Person when
    person_module contains of the order of magnitude of a million documents.
    97480b84
Name
Last commit
Last update
..
Constraint Loading commit data...
Document Loading commit data...
PropertySheet Loading commit data...
doc Loading commit data...
dtml Loading commit data...
tests Loading commit data...
www Loading commit data...
Category.py Loading commit data...
CategoryTool.py Loading commit data...
Filter.py Loading commit data...
MAINTAINERS.txt Loading commit data...
Permissions.py Loading commit data...
Renderer.py Loading commit data...
VERSION.txt Loading commit data...
__init__.py Loading commit data...
category.png Loading commit data...
refresh.txt Loading commit data...
tool.png Loading commit data...