Hi all,

when using associate objects, HTML::Template builds a parameter case-mapping table to support case-insensitive templates.
This is not necessary for case-sensitive templates and can lead to significant overhead when using associate objects with a larger number of parameters.

Quote from HTML::Template source code:

# what a hack! This should really be optimized out for case_sensitive.
Well, I did just that.

Please find attached the patch for HTML::Template 2.6.
Patch the files Template.pm and test.pl (I added two new tests).


Regards,

Thilo Planz

Attachment: test.pl.patch
Description: Binary data

Attachment: Template.pm.patch
Description: Binary data




Reply via email to