Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by mjscott2702 (Pilgrim)
on Jul 31, 2007 at 12:40 UTC ( #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
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
Node Status?
node history
Node Type: note [id://629819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-09-21 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (171 votes), past polls