Finding out matching and not matching entries between two files !

2009-07-16 Thread Amit Saxena
Hi all, I need help regarding the approach to find out matched and unmatched entries between two files using perl. As the number of lines in the files would be around 10k-50k, I don't want to load entire file contents into memory. The first file (file1 also known as superset file) contains all

Re: Finding out matching and not matching entries between two files !

2009-07-16 Thread Jim Gibson
At 2:12 AM -0700 7/16/09, Amit Saxena wrote: Hi all, I need help regarding the approach to find out matched and unmatched entries between two files using perl. As the number of lines in the files would be around 10k-50k, I don't want to load entire file contents into memory. The fastest

Re: Finding out matching and not matching entries between two files !

2009-07-16 Thread Amit Saxena
Hi Jim, Thanks for the response. I was doing the approach which you have mentioned as the fastest one. I was using nested data structures for the same. The only problem with that approach which I faced are :- 1. The code was getting too much complex due to use of too many references to