in reply to Re^2: Fastest way to merge (and de-dup) two large arrays?
in thread Fastest way to merge (and de-dup) two large arrays?
Every array element for the lookup will need to be hashed anyway, either for "storage" as a hash key or for lookup as a hash key, so that is a wash.
I usually choose the smaller array for the hash because the smaller array is more likely to fit in memory.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Fastest way to merge (and de-dup) two large arrays?
by SimonPratt (Friar) on Aug 12, 2016 at 07:59 UTC | |
by perldigious (Priest) on Aug 12, 2016 at 13:52 UTC |