summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-23 18:39:49 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-23 18:39:49 -0400
commit39e5e250006421535c13b97e9ca28600c8447877 (patch)
treefcaad44bc96a42702cda726f88f5c4e3541b9801 /t
parent8ba98ad1dcbffe32150745c98d72512a6fa6149e (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 't')
0 files changed, 0 insertions, 0 deletions