I found on StringTemplate pages some reference to template compilation (http://www.stringtemplate.org/api/org/stringtemplate/v4/compiler/Compiler.html). The info is rather, let's say, lapidary.
I cannot find any description/tutorial/example on why and how to use template compilation in ST4. I'd like to take advantage of this feature, as I suspect it could be beneficial to performance.
Any pointers?
That class is always used by the StringTemplate 4 implementation. Code using the library does not need to manually enable, configure, or interact with it directly.