MP>
http://www-106.ibm.com/developerworks/library/l-optperl.html?ca=dgr-lnxw06OptPerl
MP> Usually they have good articles but this one isn't nearly there,
MP> and I doubt that author is just making jokes in it?
here is the feedback i sent him:
so many misconceptions about perl that i can't even start. and
he misses so many ways to optimize perl as well.
no mention of the Benchmark.pm module.
perl bytecode is generally useless and doesn't give much speedup
choosing a better algorithm and/or data structure is the best
way to optimize code in any language. if you think perl 's speed
is the problem then you either chose the wrong language or don't
know how to code perl efficiently. examining bytecode is silly
in this context. it still won't show you which ops are the
bottlenecks.
the speed difference between single and double quoted strings is
negligible. try a benchmark yourself. double quoted strings are
converted to a join of the string parts at compile time so there
is no runtime loss for simple strings.
want more? write to me at (e-mail address removed).
let's see if i get any response.
uri