Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: how to speed up dupe checking of arrays

by mjscott2702 (Pilgrim)
on Jul 31, 2007 at 12:40 UTC ( [id://629819]=note: print w/replies, xml ) Need Help??


in reply to Re: how to speed up dupe checking of arrays
in thread how to speed up dupe checking of arrays

Update: the module at List::MoreUtils actually has a uniq function that does exactly what you need. This may be faster?
  • Comment on Re^2: how to speed up dupe checking of arrays

Replies are listed 'Best First'.
Re^3: how to speed up dupe checking of arrays
by ultibuzz (Monk) on Jul 31, 2007 at 13:21 UTC

    List::More-Utils is faster as my try but slower then the dupe checking while in while loop.
    problem might be the pass trough each element of the array wich becomee the main time consuming element.
    as i see it dosnt matte rmuch waht u use when u have kinda small arrays, but when u have arrays with several million elements, all the saved milliseconds count ;)

    kd ultibuzz

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found