Python sets and dictionaries can have quadratic-time performance | Hacker News Reader