gruby karol
gruby karol

Reputation: 329

How to use compiled templates?

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?

Upvotes: 1

Views: 272

Answers (1)

Sam Harwell
Sam Harwell

Reputation: 99869

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.

Upvotes: 3

Related Questions