diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-23 18:39:49 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-23 18:39:49 -0400 |
commit | 39e5e250006421535c13b97e9ca28600c8447877 (patch) | |
tree | fcaad44bc96a42702cda726f88f5c4e3541b9801 /templates | |
parent | 8ba98ad1dcbffe32150745c98d72512a6fa6149e (diff) |
cache highlighters to optimise
Setting up a new highlighter object is slightly expensive since it
reads and parses the langfile each time. So cache them.
This also speeds up ext2langfile by avoiding it needing to check for the
existence of a language file in some cases.
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions