slight optimisation to file_pruned
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 14 Mar 2010 19:21:42 +0000 (15:21 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 14 Mar 2010 19:21:42 +0000 (15:21 -0400)
commita5ded6437dc8170fafe170b758c54a44912cb7a8
tree1d643b73d37bdc9e84f785fad7beb87d718d25e8
parent223b8efab0a55075bd53d03fe3cb2df07f13d9c1
slight optimisation to file_pruned

Precompile the regexp, rather than rebuilding on every call.
IkiWiki.pm