Why is Tera's render called twice?
olsuh opened this issue · comments
olsuh commented
Dirkjan Ochtman commented
Exactly because of what you describe in #89: it forces the template engine to do all the necessary setup.
olsuh commented
Sorry I was confused. :)
olsuh commented
I put the debug output between these two lines. And I saw that there were many calls. It's too much to warm up.
Dirkjan Ochtman commented
template-benchmarks-rs is currently a low priority for me. I think the code across all the template engines is pretty similar so in that sense it seems fair to me. If you want to submit a PR to change something I'll consider it, but it will have to be well-argued.