Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 romping around the Monastery: (8)
As of 2016-10-01 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (5 votes). Check out past polls.