Comparing a lot of data efficiently

Markus Schaber markus at schabi.de
Wed Aug 29 14:03:05 EDT 2001


Hi,

Mike C. Fletcher <mcfletch at home.com> schrub:

> So you don't load up all of the second file, just one line at a time. 
> If you need to check for 1,2,3 == 2,3,1 then just check the various
> combinations by doing gets for the other possible combinations.

Or normalize the tupels by sorting the three points.

markus
-- 
"The strength of the Constitution lies entirely in the determination of 
each citizen to defend it. Only if every single citizen feels duty 
bound to do his share in this defense are the constitutional rights 
secure." -- Albert Einstein



More information about the Python-list mailing list