-
Committer:
Max Kanat-Alexander
-
Date:
2010-04-22 03:10:41 UTC
-
Revision ID:
mkanat@bugzilla.org-20100422031041-7nvgi9m1kcs1s8m2
Pygments can be very slow on large files (about 1 second per 128K).
When loggerhead would try to highlight enormous files, it would
slow to a crawl, causing it to effectively hang. So here, we
make it only highlight files if they are smaller than 512K.