develooper Front page | perl.beginners | Postings from May 2012

Re: shift vs @_

Thread Previous | Thread Next
From:
sono-io
Date:
May 21, 2012 13:12
Subject:
Re: shift vs @_
Message ID:
9325632F-F5AE-4B08-BEE1-06C3A49A1231@fannullone.us
Hi Paul,

> Please don't care about this until your code is running correctly but
> too slowly and profiling has determined that this is the bottleneck.

	I'm curious as to why you say this.  If one way is faster than another, wouldn't it be better to do it that way, as long as it doesn't cause any problems?

	BTW, my code is running correctly.  I'm refactoring an old script.  The way I see it, every little bit helps. =;)

Marc
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