blob: b63128702d85c80ba625c217f9288660ac94ab7a (
plain)
I've been profiling my IkiWiki to try to improve speed (with many pages makes speed even more important) and I've written a patch to improve the speed of match_glob. This matcher is a good one to improve the speed of, because it gets called so many times.
Here's my patch - please consider it! -- [[KathrynAndersen]]
It seems to me as though changing glob2re to return qr/$re/, and calling
memoize(glob2re) next to the other memoize calls, would be a less
verbose way to do this? --[[smcv]]
I think so, yeah. Anyway, do you have any benchmark results handy,
Kathryn? --[[Joey]]
|