How to Fix Slow Code in Ruby | Hacker News