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

Re: Feel good benchmarks

Thread Previous | Thread Next
Michael G Schwern
November 20, 2001 11:10
Re: Feel good benchmarks
Message ID:
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   <>
Perl Quality Assurance	    <>	       Kwalitee Is Job One
Beer still cheaper than crack!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About