On Wed, 14 Apr 2004, C Hagstrom wrote: > But my concern is that the approach would not > be "server friendly". That said, I'm thinking that the overhead > for template calls is so small, I need not be concerned.
I'm not sure what you mean by "server friendly", but the only way to know anything about performance is to measure it. I recommend you get comfortable with Benchmark.pm and Devel::DProf. Using these tools you can find out exactly how long it takes to call new() on your templates. But what the heck, here's a couple hints anyway: new() takes much more time on larger and more complicated templates. You can reduce this time to almost nothing using caching and pre-compiling your templates. -sam ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users