Hacker News new | ask | show | jobs
by petdog 5821 days ago
Seriously? You must enjoy your O(n^2).
1 comments

The sets I'm working on tend not to tend toward infinity.
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.