igelkott already mentioned that the size of the files is important. His algorithm works best if the first file is really big.
If the second file is really big, his algorithm can be turned around so that the first file is put into a hash and then the second file is read line by line to check for a match.
In reply to Re^2: compare a list from one file with another text file
by jethro
in thread compare a list from one file with another text file
by sm2004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |