Re: JRuby to Java invokedynamic dispatch

2011-06-09 Thread Charles Oliver Nutter
Not to temper your enthusiasm, but the obvious answer here is that the perf gains are largely from avoiding a reflective invocation. To me that doesn't make the results any less spectacular, since they were far easier to wire in than hand-generated stubs (which Groovy does and which JRuby can do if

Re: JRuby to Java invokedynamic dispatch

2011-06-09 Thread Christian Thalinger
On Jun 8, 2011, at 11:10 PM, Attila Szegedi wrote: > Woo-hoo! I agree :-) > > On Jun 8, 2011, at 9:48 PM, Charles Oliver Nutter wrote: > >> Hello friends! I have another update! >> >> I've just landed preliminary work to make JRuby directly bind Ruby to >> Java calls that were normally done vi

Re: JRuby to Java invokedynamic dispatch

2011-06-08 Thread Attila Szegedi
Woo-hoo! On Jun 8, 2011, at 9:48 PM, Charles Oliver Nutter wrote: > Hello friends! I have another update! > > I've just landed preliminary work to make JRuby directly bind Ruby to > Java calls that were normally done via reflection! Currently only > no-arg methods that return primitives, CharSeq

JRuby to Java invokedynamic dispatch

2011-06-08 Thread Charles Oliver Nutter
Hello friends! I have another update! I've just landed preliminary work to make JRuby directly bind Ruby to Java calls that were normally done via reflection! Currently only no-arg methods that return primitives, CharSequence/String, or void get patched straight through, but in those cases it make