Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Find unique elements in an array

by kvale (Monsignor)
on Apr 04, 2004 at 07:52 UTC ( #342435=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw(:all) ;
    
    ...
                            @awd = keys %unique;
                         },
                     });
    
  2. or download this
    Benchmark: running jc, mk for at least 3 CPU seconds...
            jc:  3 wallclock secs ( 3.14 usr +  0.00 sys =  3.14 CPU) @ 53
    +5.67/s (n=20522)
    ...
          Rate   jc   mk
    jc  6536/s   -- -56%
    mk 14937/s 129%   --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-02-17 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (71 votes). Check out past polls.

    Notices?