Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[1nickt]: LanX You flatter yourself. I downvote only posts that I believe do not support and promote Perl. These would include threads berating P5P volunteers and others.
[marto]: fortunately my bad jokes and puns don't fall into those categories :P

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-04-26 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?