On Sat, Dec 4, 2010 at 6:12 AM, Rémi Forax <[email protected]> wrote: > On 12/04/2010 10:58 AM, Charles Oliver Nutter wrote: >> My current plan for the latter case is to have the compile emit a >> specialized "each" that we dispatch to rather than the canonical, >> global "each". The code would be identical, but since it would be >> specialized to this call site and this call site alone, it and the >> block passed to it should inline correctly. Once we eliminate the push >> to a global stack, EA then becomes possible. > > This is equivalent to implement your own EA + inlining > in your runtime instead of relying on the EA done by hotspot.
Perhaps, except that implementing my own EA + inlining is a lot harder :) My primary goal with JRuby optimization is to just get all the pieces in the right place so that the JVM can do the rest. I don't want to write my own optimizers if I can help it. - Charlie -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
