From: Gaspard Bucher Date: 2008-02-09T19:49:28+09:00 Subject: Re: [ANN] Tenjin 0.6.1 - a fast and full-featured template engine This looks really great ! I have written a pre-processor language for the templates in zena (a CMS) called zafu. It would be really easy to generate tenjin code instead of erb. By looking at the code, I don't understand where the performance boost comes from. At the end, we have a ruby method, just like with erb, no ? Could explain why tenjin is faster ? Is it during compilation ? Or during execution (which means a compilation that generates faster ruby code) ? Thanks for your answer. Gaspard 2008/2/9, Michael Neumann : > makoto kuwata wrote: > > Hi all, > > > > I have released Tenjin 0.6.1. > > http://www.kuwata-lab.com/tenjin/ > > changes: > > http://www.kuwata-lab.com/tenjin/rbtenjin-CHANGES.txt > > > > Tenjin is a fast and full-featured template engine similar to eRuby > > but it has the following advantages against to eRuby and ERB. > > Thanks for your great work on template engines! > > > * Very fast (twice faster than eruby and three times faster than > > ERB) > > * Lightweight (only one file which contains about 1000 lines) > > * Not break HTML design because it uses XML Processing > > Instructions (PI) as embedded notation for Python statements. > > * Secure because it supports escaping expression value by default. > > * Auto caching of converted Python code. > ^^^^^^ > Python? ;-) > > Regards, > > Michael > >