in reply to Best method to diff very large array efficiently
Can there be duplicate values in either array?
What information do you you need as you result?
BTW: In your example, you name the keys that remain in the hash @dropped which doesn't, in isolation, make a lot of sense?
Also, if you use a hash to determine this, there is no point in sorting the arrays first, it will make no difference to the result, but will just cost time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best method to diff large array
by newbieperlperson (Acolyte) on Nov 25, 2013 at 05:13 UTC | |
by BrowserUk (Patriarch) on Nov 25, 2013 at 05:29 UTC | |
by newbieperlperson (Acolyte) on Nov 25, 2013 at 05:39 UTC | |
by BrowserUk (Patriarch) on Nov 25, 2013 at 06:24 UTC | |
by didier (Vicar) on Nov 25, 2013 at 20:24 UTC |