Boxed types and constat propagation
Charles Oliver Nutter
headius at headius.com
Sun Apr 22 15:34:36 PDT 2012
On Sun, Apr 22, 2012 at 2:12 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> You are the first as far as I know to use only a tree of method handles
> to implement expressions. The rest of us generates bytecodes
> and have a compiler that does constant propagation.
JRuby doesn't do any constant propagation in our existing compiler,
but we will be able to do some in the newer compiler. Ruby's constants
are lazily discovered at runtime, so we can't propagate their
values...but Hotspot should be able to in many cases.
More information about the mlvm-dev