Hello,
I heard that jsr292 makes dynamic method lookup&invocation faster than
reflection so I did some performance comparison against plain
reflection. I'm sending this mail since the result looks strange to
me.
Code is here:
https://raw.github.com/nahi/jsr292-sandbox/master/src/jp/gr/java_conf/j
Hello,
Thanks for your swift responses.
On Sat, Jul 9, 2011 at 19:29, Rémi Forax wrote:
>> You should avoid to create constants more than once.
Indeed. I updated the benckmark. (please see below)
>> Also, bindTo() will create a method handle for-each call.
Sure, but 'bindTo(rec).invokeExact(a
Hello,
Thanks for you comments.
On Sat, Jul 9, 2011 at 19:01, Jochen Theodorou wrote:
>> Code is here:
>> https://raw.github.com/nahi/jsr292-sandbox/master/src/jp/gr/java_conf/jruby/MethodHandleTest.java
>
> lookup I don't know. I am not sure about the recent versions, I think
> the lookup is us