I concur with cdarke. Anytime I need to check for duplicates I always think "hash". That's not the only good use of hashes, of course. But it always seems that it is one of the areas that hashes really shine...especially for simplicity and optimized speed when you don't want to spend a lot of time trying to eek out every last microsecond of performance.
In reply to Re^2: Searching first array in second array.
by ack
in thread Searching first array in second array.
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |