Comparing a lot of data efficiently

Markus Schaber markus at
Wed Aug 29 20:03:05 CEST 2001


Mike C. Fletcher <mcfletch at> 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.

"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