[stringtemplate-interest] Caching (precompiling?)
Terence Parr
parrt at cs.usfca.edu
Wed Aug 13 15:00:30 PDT 2008
On Aug 10, 2008, at 11:19 AM, Roman Odaisky wrote:
> Greetings,
>
> StringTemplateGroup loads templates only once. Does it precompile the
> templates, or does it merely try to avoid excessive disk operations?
"Precompiles" to trees. It does it to avoid the disk operations; you
can set the cache refresh interval though.
> In other words, what do I lose if I set the refresh interval to
> zero? Any
nothing really... that is what I do for my website antlr.org,
st.org, ...
Ter
More information about the stringtemplate-interest
mailing list