How to optimise a code to be JIT friendly | Hacker News Reader