Comment by pat_shaughnessy
18 hours ago
> Idiomatic Ruby uses blocks for loop bodies
Yes that's something I want to dig into and explore in this chapter... when exactly does Ruby's JIT compiler activate and optimize our code? And you're right: since Ruby will JIT blocks as if they were separate function many loops will be optimized using this simple heuristic.
No comments yet
Contribute on Hacker News ↗