j***@public.gmane.org
2012-05-10 14:21:54 UTC
Status: Accepted
Owner: martijn....-***@public.gmane.org
Labels: Type-Review Priority-Low
New issue 71 by martijn....-***@public.gmane.org: token_re_cache in javascript
implementation doesn't do anything?
http://code.google.com/p/json-template/issues/detail?id=71
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).
Owner: martijn....-***@public.gmane.org
Labels: Type-Review Priority-Low
New issue 71 by martijn....-***@public.gmane.org: token_re_cache in javascript
implementation doesn't do anything?
http://code.google.com/p/json-template/issues/detail?id=71
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).
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.