Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Perl Idioms Explained - keys %{{map{$_=>1}@list}}

by LanceDeeply (Chaplain)
on Aug 04, 2003 at 18:58 UTC ( #280762=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark;
    
    ...
        }
    );
    
  2. or download this
    Benchmark: timing 1000 iterations of grep_seen, keys_map...
     grep_seen: 13 wallclock secs (11.17 usr +  0.00 sys = 11.17 CPU) @ 89
    +.52/s (n=1000)
      keys_map: 30 wallclock secs (29.28 usr +  0.00 sys = 29.28 CPU) @ 34
    +.15/s (n=1000)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-08-29 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls