Re: [htmltmpl] Speeding up H::T

2006-06-26 Thread Mathew Robertson
Hi Matthew, Are you using 'global_vars', then H::T can be made to have a very large speed up by replacing the code from lines 2624-2650 with: if (scalar(@{$options->{associate}})) { my @undef_params; foreach my $param (keys %{$self->{param_map}}) { next if (defined $self->param($p

[htmltmpl] Speeding up H::T

2006-06-26 Thread Matthew
Hey guys, Over the weekend, we (finally!) moved our company's primary web-app from CGI over to mod_perl and incorporated H::T. The funny thing is that I started doing some speed comparisons using ApacheBench of our MP version vs CGI. Short story is, both CGI and MP preformed about the