|
|
|
|
|
by pat_shaughnessy
214 days 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. |
|