Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Mathew Robertson
I did some performance profiling of H::T some time ago -> it turns out that there is quite a bit of speed up (somewhere between 10% and 10x, depending on the page) by re-writing part of the code located around line 2660. Does this pass all the .t tests? If it does then shouldn't this ge

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Lyle
Mathew Robertson wrote: > >>> Is there a version that works with HTML::Template::Pro? I'm using a >>> template system that loads HTML::Template::Pro if available (for the >>> speed enhancements) >>> >> >> Really? Did you do benchmarks and find that your templating was bottleneck? >> And if

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Mathew Robertson
Is there a version that works with HTML::Template::Pro? I'm using a template system that loads HTML::Template::Pro if available (for the speed enhancements) Really? Did you do benchmarks and find that your templating was bottleneck? And if so, how much of a gain did you get from HTML::T

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Michael Peters
Lyle wrote: > Is there a version that works with HTML::Template::Pro? I'm using a > template system that loads HTML::Template::Pro if available (for the > speed enhancements) Really? Did you do benchmarks and find that your templating was bottleneck? And if so, how much of a gain did you get

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Lyle
Roger Burton West wrote: > On Thu, Jan 29, 2009 at 03:21:59AM +, Lyle wrote: > > >> But that doesn't work. Is there a way to pickup data from a template >> you've read in? >> > > This is quite a common question, and the answer is "yes". My own > HTML::Template::Set extension is one appr

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Lyle
Roger Burton West wrote: > On Thu, Jan 29, 2009 at 03:21:59AM +, Lyle wrote: > > >> But that doesn't work. Is there a way to pickup data from a template >> you've read in? >> > > This is quite a common question, and the answer is "yes". My own > HTML::Template::Set extension is one app

Re: [htmltmpl] Getting data from template?

2009-01-29 Thread Roger Burton West
On Thu, Jan 29, 2009 at 03:21:59AM +, Lyle wrote: >But that doesn't work. Is there a way to pickup data from a template >you've read in? This is quite a common question, and the answer is "yes". My own HTML::Template::Set extension is one approach. See the list archives. Roger