1

我在 StringTemplate 页面上发现了一些对模板编译的参考(http://www.stringtemplate.org/api/org/stringtemplate/v4/compiler/Compiler.html)。可以说,这些信息是宝石般的。

我找不到任何关于为什么以及如何在 ST4 中使用模板编译的描述/教程/示例。我想利用此功能,因为我怀疑它可能对性能有益。

任何指针?

4

1 回答 1

3

StringTemplate 4 实现始终使用该类。使用该库的代码无需手动启用、配置或直接与其交互。

于 2014-06-25T10:44:21.657 回答