[tpm] Is there a three-way version of...

Uri Guttman uri at StemSystems.com
Sun May 31 08:44:12 PDT 2009


>>>>> "a" == arocker  <arocker at vex.net> writes:

  >> 
  >> my $iterations = 10000000; # ten million
  >> 
  >> foo() took 26 seconds
  >> bar() took 20 seconds
  >> bar() was faster by 6 seconds.
  >> 

  a> You'ld have to do it an awful lot for the difference to matter.

as i said, it is as much a style difference as a speed one. assignment
from @_ is just better than shifting from it. two reasons are better
than one! :)

uri

-- 
Uri Guttman  ------  uri at stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


More information about the toronto-pm mailing list