Incrementally improving the performance of a Python script | Hacker News Reader