in reply to Re^5: developing a template system
in thread developing a template system
It looks like your loop context vars are off by 1yep, noticed that, that should be an easy fix.
About speed - I tested with a larger template by just repeating the same template code a couple of times.
The larger the template, the faster was H::T::JIT.
With my example template, they reach about the same speed here. So for big templates H::T::JIT definitely seems to be a lot faster.
If I turn off case_sensitive, I'm only about 2.5 times faster than H::T instead of 5, but on the other hand turning on case_sensitive in H::T doesn't result in a speed gain.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: developing a template system
by perrin (Chancellor) on Aug 22, 2005 at 13:18 UTC | |
by tinita (Parson) on Aug 22, 2005 at 14:33 UTC | |
by perrin (Chancellor) on Aug 22, 2005 at 16:30 UTC | |
by tinita (Parson) on Aug 22, 2005 at 19:31 UTC |