You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@pobox.com> on 2000/03/01 07:29:03 UTC

Re: choosing the right benchmark code

On Thu, 17 Feb 2000, Matt Sergeant wrote:
> 
> It's also worth noting that this is _very_ much dependant on your perl
> version. Later versions of perl do much better method caching - I believe
> in the current devel version of perl method calls are only very slightly
> slower - rather than 2 times slower.

only a little better though, newer Perls make Foo->method() a bit faster
(some constant folding magic), but not Foo->$method().  and the 
improvement does not address the @ISA lookup that still happens in either
case.