On Thu, 8 Jun 2000, Greg Cope wrote: > My original question was not related to templates (I'll use embperl for > that) Well, I'm confused now. You'll use Embperl for templates but you're not using Embperl for templates? > - the area I was trying to explore was how to read a template (all > HTML with a few <!--TAGS--> in it) and the sub in the new content. Embperl would work fine for that, but it's overkill. Your substitution approach is slower than compiling to perl subs, especially since you have to load the file, but saves lots of memory and is fine for something as simple as this. > Has anyone any suggestions as to speeding this up - yet keeping it > simple - I have played with referances to avoid all the variable copying > etc . ? Caching templates in memory would certainly help, but you'll eat up a chunk of RAM. - Perrin
- Re: Perl vs Java [Now OT] Peter Skipworth
- Re: Perl vs Java [Now OT] Gunther Birznieks
- Re: Perl vs Java [Now OT] shane
- Re: Perl vs Java shane
- Re: [OT now] Re: Template techniq... Craig McLane
- Template techniques Roger Espel Llima
- Re: Template techniques Perrin Harkins
- Re: Template techniques Roger Espel Llima
- Re: Template techniques Perrin Harkins
- Re: Template techniques [ newbie ... Greg Cope
- Re: Template techniques [ newbie ... Perrin Harkins
- Re: Template techniques [ newbie ... Greg Cope
- Re: Template techniques [ newbie ... Perrin Harkins
- Re: Template techniques [ newbie ... Randal L. Schwartz
- Re: Template techniques [ newbie ... Ged Haywood
- Re: [performance/benchmark] printing techniques Frank Wiles
- Re: [performance/benchmark] printing techniques Stas Bekman
- Re: [performance/benchmark] printing technique... Stephen Zander
- Re: [performance/benchmark] printing techn... Stas Bekman
- Re: [performance/benchmark] printing t... Stephen Zander
- Re: [performance/benchmark] print... Matt Sergeant