我在 StringTemplate 页面上发现了一些对模板编译的参考(http://www.stringtemplate.org/api/org/stringtemplate/v4/compiler/Compiler.html)。可以说,这些信息是宝石般的。
我找不到任何关于为什么以及如何在 ST4 中使用模板编译的描述/教程/示例。我想利用此功能,因为我怀疑它可能对性能有益。
任何指针?
我在 StringTemplate 页面上发现了一些对模板编译的参考(http://www.stringtemplate.org/api/org/stringtemplate/v4/compiler/Compiler.html)。可以说,这些信息是宝石般的。
我找不到任何关于为什么以及如何在 ST4 中使用模板编译的描述/教程/示例。我想利用此功能,因为我怀疑它可能对性能有益。
任何指针?