diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-04-02 17:34:47 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-04-02 17:39:09 +0200 |
commit | 6d3fa5c8718b01babd26d63b53da984c6641c22c (patch) | |
tree | 8764aa5f72c5d01802ce7a760dfc79a2ae68f2eb /install.php | |
parent | 0702e8b7b343d3b1ea421875f5d62e40d2c07d69 (diff) |
Pygments::get_pygments_info: cache in memory
It's used multiple times if we are rendering a multipaste so it makes
sense not to run to the backend cache each time (if there even is one).
This reduced the render time for a multipaste with 180 items from
>500ms to ~225ms when using the file cache backend.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'install.php')
0 files changed, 0 insertions, 0 deletions