[ENH]: control the size of the tex cache #23779
Labels
Difficulty: Medium
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Good first issue
Open a pull request against these issues if there are no active ones!
New feature
Milestone
Problem
We keep a cache of the
.tex
and.dvi
files when rendering with an external LaTeX process, however we put no controls on the size of that cache. We have anecdotal reports (#4880 (comment)) that if this cache gets too big it becomes its own bottle neck (I assume the problem is we have put too many files in a single folder for the file system).There are two hard problems in computer science
Proposed solution
I am labeling this as a good first issue because while there may be some new API it should be well contained to how we manage a cache (and it is a cache so we should already be robust to it going away under us) but medium difficulty because this will require thinking through the consequences of the caching algorithm and would be best done by someone who has at least worked with (and preferably implemented / maintained) a similar on-disk caching system.
The text was updated successfully, but these errors were encountered: