mirror of
https://github.com/beetbox/beets.git
synced 2026-01-17 21:52:34 +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 | ||
| commands.py | ||
| completion_base.sh | ||