Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: "Just use a hash": An overworked mantra?

by BrowserUk (Pope)
on Nov 17, 2011 at 22:04 UTC( #938688=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = 1 .. 999;;
    print total_size \@a;;
    32144
    
  2. or download this
    $h{ $_ } = $_ for 1.. 999;;
    print total_size \%h;;
    109055
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-08-30 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (411 votes). Check out past polls.