Re: Fast union/intersection of two sequences?

Reimer Behrends (behrends@buran.fb10.tu-berlin.de)
25 Jan 1995 04:49:44 GMT

I wrote:
[...]
: l = range(min(n1,n2))

Sigh. This had of course better be

l = [ None ] * min(n1,n2)

as it is more readable and much faster. Bad habits die hard. :-(

Reimer Behrends