Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: