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.
In reply to Re^2: Comparing two arrays
by roboticus
in thread Comparing two arrays
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |