On Thu, 8 Jun 2000, Stas Bekman wrote: > Stephen Zander wrote: > > > > >>>>> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: > > Stas> Ouch :( Someone to explain this phenomena? and it's just > > Stas> fine under the handler.... puzzled, what can I say... > > > > Continuous array growth and copying? > > Is this a question or a suggestion? but in both cases (mod_perl and perl > benchmark) the process doesn't exit, so the allocated datastructure is > reused... anyway it should be the same. But it's not. only the @array length remains allocated, it's elements are free-d each time, you're copying the "strings" into a new SV everytime. push @array, \"string" should make a big difference (remember $r->print deferences refs to strings)
- Re: Template techniques [ newbi... Ged Haywood
- Re: [performance/benchmark] printing techniques Frank Wiles
- Re: [performance/benchmark] printing techniques Stas Bekman
- Re: [performance/benchmark] printing techniq... Stephen Zander
- Re: [performance/benchmark] printing tec... Stas Bekman
- Re: [performance/benchmark] printin... Stephen Zander
- Re: [performance/benchmark] pri... Matt Sergeant
- Method overhead benchmarks [Was... Barrie Slaymaker
- Re: Method overhead benchmarks ... Matt Sergeant
- Re: Method overhead benchmarks ... Barrie Slaymaker
- Re: [performance/benchmark] printin... Doug MacEachern
- Re: [performance/benchmark] printing techniques Perrin Harkins
- Re: [performance/benchmark] printing techniques Gisle Aas
- RE: [performance/benchmark] printing techniques Jerrad Pierce