Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^6: Create unique array --the hard way!

by kcott (Archbishop)
on Mar 08, 2014 at 20:13 UTC ( [id://1077554]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub splice_unique2 {
        my @sorted = sort qw{q w e r t y q w e r t y};
    ...
            }
        }
    }
    
  2. or download this
                       Rate splice_unique2 splice_unique  shift_unique    
    +map_unique
    splice_unique2  83836/s             --          -10%          -15%    
    +      -28%
    splice_unique   92839/s            11%            --           -6%    
    +      -20%
    shift_unique    99211/s            18%            7%            --    
    +      -14%
    map_unique     115924/s            38%           25%           17%    
    +        --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found