Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Preventing unintended list expansion inside hash literals.

by vr (Curate)
on Jan 06, 2017 at 19:26 UTC ( [id://1179097]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -E "$h{$_} = $_ for 0 .. 5_000_000; say time - $^T; keys %h; say
    + time - $^T; $k = scalar each %h; say time - $^T; say $k"
    10
    ...
    10
    176
    4034296
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found