How to optimize multi edge, directed graph data structure creation | Hacker News Reader