python-bibtexparser icon indicating copy to clipboard operation
python-bibtexparser copied to clipboard

Cache Library Properties

Open MiWeiss opened this issue 3 years ago • 0 comments

Most library properties create a list from the list of blocks. This can be a bit wasteful for large libraries if called often.

Thus, we should cache (and properly invalidate upon adding) any calls to such properties.

functools.lru_cache might be a solution.

MiWeiss avatar Sep 24 '22 13:09 MiWeiss