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?

Irrelevant

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

Replies are listed 'Best First'.
Re^3: Fastest way to merge (and de-dup) two large arrays?
by perldigious (Priest) on Aug 11, 2016 at 19:13 UTC

    Then as Corion suggested hashing instead of smart matching is probably a great way to go for run time efficiency.

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious
Re^3: Fastest way to merge (and de-dup) two large arrays?
by Anonymous Monk on Aug 11, 2016 at 19:18 UTC

    On a *nix system, I would try writing both arrays out to the same file and run

    sort -u

    on the file. Might be faster, might not...