Writing huge Sets() to disk

Martin MOKREJŠ mmokrejs at ribosome.natur.cuni.cz
Fri Jan 14 11:29:52 EST 2005


Tim Peters wrote:
> [Martin MOKREJŠ]
> 
>>This comm(1) approach doesn't work for me. It somehow fails to
>>detect common entries when the offset is too big.

[...]
> I'll repeat:
> 
> 
>>>As I mentioned before, if you store keys in sorted text files ...
> 
> 
> Those files aren't in sorted order, so of course `comm` can't do
> anything useful with them.  Do `man sort`; sorting is not optional
> here.

I did read the manpage, but somehow it seems I did not execute sort(1)
from within my python code, so it was unsorted and did did not realize
it yet. Thanks!
m.



More information about the Python-list mailing list