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

Re^2: Fastest way to merge (and de-dup) two large arrays?

by technojosh (Priest)
on Aug 14, 2016 at 01:06 UTC ( [id://1169731]=note: print w/replies, xml ) Need Help??


in reply to Re: Fastest way to merge (and de-dup) two large arrays?
in thread Fastest way to merge (and de-dup) two large arrays?

Hashes did the trick.

The function ends now in minutes instead of hours. I think initially I was trying to keep things ordered, when there was no real requirement to do so.

Way faster.

  • Comment on Re^2: Fastest way to merge (and de-dup) two large arrays?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found