summaryrefslogtreecommitdiff
path: root/scripts/get_css_properties.py
diff options
context:
space:
mode:
authorDirk Mueller <dmueller@suse.com>2023-01-31 16:16:11 +0100
committerGitHub <noreply@github.com>2023-01-31 16:16:11 +0100
commitc467d61ccf23d24cba47957e6e0dde790b94136f (patch)
tree6c38b233051ae955aba698128d520f2f38346a6e /scripts/get_css_properties.py
parent6e870b449dae9ac69899b0bed06962aaf2b8adf1 (diff)
downloadpygments-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