Menu

Commit [r8644]  Maximize  Restore  History

0.11.6dev: improve startup time by caching the component activation "rules" and using a dict to speed up the checks.

Before, the n components were checked against the n' rules, where n and n' were often of the same magnitude, resulting in O(n^2^) behavior.

Profiling data for startup sequence hinted this could be a significant slowdown.

cboos 2009-10-07

changed /branches/0.11-stable/trac/env.py
/branches/0.11-stable/trac/env.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB