summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/comments.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-14 17:25:30 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-14 18:09:12 -0500
commitf1183cbf0c9c09725192dcc8384381f9112ae222 (patch)
tree7a7839af53f3076245b0c8fd898b105f3bb1fdb6 /IkiWiki/Plugin/comments.pm
parent6fc25c8df79c4ce9afde256be5d377ee82562c31 (diff)
add ngettext support & optimize gettext handling
As I was adding ngettext support, I realized I could optimize the gettext functions by memoizing the creation of the gettext object. Note that the object creation is still deferred until a gettext function is called, to avoid unnecessary startup penalties on code paths that do not need gettext. A side benefit is that separate stub functions are no longer needed to handle the C language case.
Diffstat (limited to 'IkiWiki/Plugin/comments.pm')
0 files changed, 0 insertions, 0 deletions