Optimizing a breadth-first search | Hacker News Reader