http://www.perlmonks.org?node_id=1067330


in reply to Re: Comparing two arrays
in thread Comparing two arrays

sundialsvc4:

If you're looking for duplicate vectors, digesting can greatly reduce the number of comparisons, but it won't let you escape them altogether: http://en.wikipedia.org/wiki/Pigeonhole_principle.

Update: s/While/If you're looking for duplicate vectors/ and changed conjunction so the sentence still reads well.

...roboticus

When your only tool is a hammer, all problems look like your thumb.