Lookup in a hash of 1 million keys is rougly the same as lookup in a hash of 10 keys. :-) (Assuming you are still inside of physical memory.)
Its creating the hash thats the problem. It takes a long time, especially if you dont know how many records you are storing up front.
In reply to Re^3: How to remove duplicates from a large set of keys
by demerphq
in thread How to remove duplicates from a large set of keys
by nite_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |