On Aug 26, 2008, at 9:39 AM, Andy Wardley wrote:

> Yes.  If it's a template file on disk then TT can parse it once and  
> return
> the cached version of the compiled template each time it is used.  The
> file name is effectively the index into the cache.  Because we know  
> the
> file name and the time we compiled the template, we can detect if it  
> changes
> and re-compile the template when necessary.

Good to know. But as I need to process each tag more than once,
there isnt really any way for me to avoid that eval issue until... TT3
but we shan't be using perl anymore by then so I'll live with the evals
which in testing are quite fast enough.


_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to