[stringtemplate-interest] caching property lookup (sync issue too)

Terence Parr parrt at cs.usfca.edu
Tue Jul 11 14:19:42 PDT 2006


Hi,

Well, i just profiled ANTLR generating the thousands of lines of Java  
code for a C grammar.  The reflection part took 120microseconds so  
about an 1/8 of 1ms.  This is w/o the property caching.  I have  
commented out for simplicity in the source and avoided a synch.  
problem at same time.

Ter


More information about the stringtemplate-interest mailing list