repos
/
darcsweb
/ commit
summary
|
shortlog
|
log
|
tree
|
commit
|
commitdiff
|
headdiff
unified
|
plain
|
darcs
Import pygments only when needed
author
Alberto Bertogli <albertito@gmail.com>
local date
Sun, 05 Oct 2008 15:53:16
date
Sun, 05 Oct 2008 15:53:16
hash
20081005155316-57897-b379bc805a6995eab0434e6eb90a29076af52c31.gz
Import pygments only when needed
Otherwise, we pay for the pygments import (which is noticeable) on every
darcsweb page view.
This follows the lazy module loading that is already being done for other
costly modules (i.e. 're').
1 file(s) changed:
darcsweb.cgi
+9 -7
diff
|
history
|
annotate