[stringtemplate-interest] String template (java) Method caching

Graham Brooks graham at grahambrooks.com
Tue Jun 23 10:08:17 PDT 2009


All,

I have been digging around in the StringTemplate source from Git Hub  
and noticed that on /main there was some commented out code to cache  
the Method object. Un-commenting this code delivered an appreciable  
uplift in performance but I wondered why the code was commented out.  
We have only just started testing so thought we might not have hit any  
issues that others have seen with this code.

Given that this is a valid approach I then went on to use FastMethod  
from cdlib and saw a further uplift in performance for our application.

Best
Graham

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090623/9e39c809/attachment.html 


More information about the stringtemplate-interest mailing list