Re: [htmltmpl] Speed
Brought to you by:
samtregar
From: Octavian R. <ora...@fc...> - 2005-12-02 19:31:25
|
From: "Paul Baker" <pb...@wh...> > > > Is the speed of H::T affected if using the following options? > > And I'm not sure about die_on_bad_params, but I do believe > loop_context_vars and global_vars does add a performance hit because > the engine then has to generate or handle more vars inside a loop than > if they were turned off. > > Ok, thank you. Do you know if there is another way of using some vars in a TMPL_LOOP than using global vars? Can I "localize" them somehow? I usually need to use some "external" vars which are not keys on the hashrefs in the arrayref that defines the loops, but because of speed penalties I don't want to use global_vars => 1. Are there any tips and tricks on how can I do this without using global_vars? Thank you. Teddy |