Hi,

I have some questions that I couldn't find an answer for:

Which way of "inserting" vars in HTML::Template is the fastest?
(or it doesn't make any difference?)

$ht->param(var1 => $var1,
var2 => $var2,
var3 => $var3);

or

$ht->param(var1 => $var1);
$ht->param(var2 => $var2);
$ht->param(var3 => $var3);

or another one?

-

Is the speed of H::T affected if using the following options?
(incresed or decreased?)

loop_context_vars => 1,
die_on_bad_params => 0,
global_vars => 1,
-

Is there a better way of defining the $ht object than defining it for every
template needs to be parsed?
For example, defining a general object in a separate package, then using it,
giving it the filename of the template, and possible other options...? Could
the speed be bigger?

I could try to test all these things myself, but if not using them in a real
work environment the results might not be relevant, so that's why I am
asking you.

Thank you very much.

Teddy



Teddy



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to