develooper Front page | perl.fwp | Postings from November 2001

Re: Feel good benchmarks

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
November 20, 2001 11:10
Subject:
Re: Feel good benchmarks
Message ID:
20011120140831.W11883@blackrider
On Tue, Nov 20, 2001 at 02:22:36PM +0000, Ian Phillipps wrote:
> Defining the local parameter is doing a lot of damage. Some can be saved
> by using $_[0] rather than "shift":
> ... but that's not the point, is it?

The benchmark wouldn't be fair if we did that.  Can't compare
unreadably optimized Perl code vs readable Ruby & Python code.

They get named argument parameters cheaply, Perl doesn't.  It hurts,
but ya gotta accept it.


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance	    <perl-qa@perl.org>	       Kwalitee Is Job One
Beer still cheaper than crack!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About