Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
petdog
· 16y ago · 0 comments
Seriously? You must enjoy your O(n^2).
Comments
[–]
RyanMcGreal
16y ago
The sets I'm working on tend not to tend toward infinity.
[–]
eru
16y ago
Yes. But the approach with index only works for actual sets. And if you have actual sets, you might as well use Python's built-in sets.