On Tue, Nov 3, 2009 at 6:27 PM, Siva Subramanian
<[email protected]> wrote:
> The trouble's different. How do i open two files, the Report_2_5 above
> and also another one with the Customer IDs alone and look for rows
> only for in Report_2_5 for it and process them alone

Insert all Customer IDs into a new hash table as hash keys. When
you process Report_2_5, check if the Customer ID (key) exists in
the hash.  Eg. python: if customer_id in hash: blah...

Hash key lookups are almost a constant time operation in all
scripting languages and your code should work fast enough for
most purposes.


Please don't top post and use correct quoting in your posts.
Read/follow mailing list guidelines.

- Raja
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to