osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please improve these comprehensions (was meaning of [ ])


Seems to me you're making life difficult for yourself (and
very inefficient) by insisting on doing the whole computation
with sets. If you want a set as a result, it's easy enough
to construct one from the list at the end.

-- 
Greg