You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code, the token_re_cache is used to cache regular expressions. But it
appears nothing is ever put into the cache. A good thing too, as token_re
should be recreated each time during compilation otherwise its lastIndex
property isn't reset to 0. At least, I think that's what's going on (I was
wondering how it could work with the cache in the first place; turned out the
cache doesn't work).
Original issue reported on code.google.com by martijn....@gmail.com on 10 May 2012 at 2:21
The text was updated successfully, but these errors were encountered:
Good catch, thanks. I guess I should just get rid of the cache because the
lack of the caching apparently hasn't any issues for anyone.
I can't imagine that anyone would compile more than 10 or 100 templates per
page, and it's probably negligible then. I think it was a carryover from
Python, where you could imagine a huge server loading thousands of templates.
Original comment by andyc...@gmail.com on 19 May 2012 at 12:26
Original issue reported on code.google.com by
martijn....@gmail.com
on 10 May 2012 at 2:21The text was updated successfully, but these errors were encountered: