diff options
| author | Dirk Mueller <dmueller@suse.com> | 2023-01-31 16:16:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-31 16:16:11 +0100 |
| commit | c467d61ccf23d24cba47957e6e0dde790b94136f (patch) | |
| tree | 6c38b233051ae955aba698128d520f2f38346a6e /scripts/get_css_properties.py | |
| parent | 6e870b449dae9ac69899b0bed06962aaf2b8adf1 (diff) | |
| download | pygments-git-c467d61ccf23d24cba47957e6e0dde790b94136f.tar.gz | |
Revert "Remove filename pattern caches (#2153)" (#2328)
This introduced a performance regession. While it is true that
fnmatch already uses functools.lru_cache, that cache is limited to 256
on python 3.10 and older and we have over 1000 matching patterns, which
means the cache is evicted entirely on every iteration.
This reverts commit 951c894ab23537be90fbf3973d0345591e682371.
Diffstat (limited to 'scripts/get_css_properties.py')
0 files changed, 0 insertions, 0 deletions
