mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 09:22:55 +01:00
We were previously doing calls to Template() directly, sometimes in a loop. This caused the same template to be recompiled over and over. This commit introduces a function template() which caches the results, so that multiple calls with the same template string does not require recompilation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| db.py | ||
| query.py | ||
| queryparse.py | ||
| types.py | ||