Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Learning perlisms leads to experience, wisdom and discoveries that whitespace & idioms are lazy

by kappa (Chaplain)
on Dec 23, 2004 at 13:06 UTC ( #417077=note: print w/replies, xml ) Need Help??


in reply to Re: Learning perlisms leads to experience, wisdom and discoveries that whitespace & idioms are lazy
in thread Learning perlisms leads to experience, wisdom and discoveries that whitespace & idioms are lazy

By the way, do you know why the hash slice method is faster than looping? I measured and looks like it really is and by a significant amount of up to 25%. Seems strange.
--kap
  • Comment on Re^2: Learning perlisms leads to experience, wisdom and discoveries that whitespace & idioms are lazy

Replies are listed 'Best First'.
Re^3: Learning perlisms leads to experience, wisdom and discoveries that whitespace & idioms are lazy
by kelan (Deacon) on Dec 23, 2004 at 14:57 UTC

    Hash slicing does the assignment loop in C; explicitly looping does it in Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2022-12-03 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?