Optimizing a ring buffer for mobile performance | Hacker News Reader