Oliver Nutter [mailto:head...@headius.com]
>>> Sent: Sunday, June 13, 2010 6:28 PM
>>> To: dev@jruby.codehaus.org
>>> Subject: Re: [jruby-dev] Improving Ruby to Java call performance: no
>>> instance vars or singletons
>>>
>>> On Sun, Jun 13, 20
iginal Message-
>> From: Charles Oliver Nutter [mailto:head...@headius.com]
>> Sent: Sunday, June 13, 2010 6:28 PM
>> To: dev@jruby.codehaus.org
>> Subject: Re: [jruby-dev] Improving Ruby to Java call performance: no
>> instance vars or singletons
>>
>> O
June 13, 2010 6:28 PM
> To: dev@jruby.codehaus.org
> Subject: Re: [jruby-dev] Improving Ruby to Java call performance: no
> instance vars or singletons
>
> On Sun, Jun 13, 2010 at 11:19 PM, Charles Oliver Nutter
> wrote:
> > On Sun, Jun 13, 2010 at 2:54 AM, Wayne Meissner
On Sun, Jun 13, 2010 at 11:19 PM, Charles Oliver Nutter
wrote:
> On Sun, Jun 13, 2010 at 2:54 AM, Wayne Meissner wrote:
>> Could the weak ref wiring be done lazily, so the overhead is only
>> incurred when someone sets an ivar on a java object?
>>
>> e.g. when a java object enters jruby, it gets
On Sun, Jun 13, 2010 at 2:54 AM, Wayne Meissner wrote:
> Could the weak ref wiring be done lazily, so the overhead is only
> incurred when someone sets an ivar on a java object?
>
> e.g. when a java object enters jruby, it gets a new lightweight
> wrapper, but when someone does an ivar get/set on
On Sun, Jun 13, 2010 at 2:51 AM, Yoko Harada wrote:
> This performance improvement will be nice for embedding users since
> objects are going back and forth between Ruby and Java.
>
> If Java interface is implemented by Ruby, and the instance of that
> type is used in Java, does this change cause
On Sat, Jun 12, 2010 at 3:53 PM, Ola Bini wrote:
> I do see the need to make these kind of changes, based on their performance
> impact. But I still have reservations (maybe because I'm one of the people
> who write code that usually sets instance variables on Java objects, and
> opens up the meta
Could the weak ref wiring be done lazily, so the overhead is only
incurred when someone sets an ivar on a java object?
e.g. when a java object enters jruby, it gets a new lightweight
wrapper, but when someone does an ivar get/set on it, it looks for the
ivar holder for the java object in the weak
On Sat, Jun 12, 2010 at 11:41 AM, Charles Oliver Nutter
wrote:
> One of the primary remaining perf challenges for JRuby is the cost of
> bringing Java objects into the Ruby environment. Currently, all
> objects get wrapped with a small wrapper object that implements
> IRubyObject. This is primaril
On 2010-06-12 10.41, Charles Oliver Nutter wrote:
One of the primary remaining perf challenges for JRuby is the cost of
bringing Java objects into the Ruby environment. Currently, all
objects get wrapped with a small wrapper object that implements
IRubyObject. This is primarily because all our ca
One of the primary remaining perf challenges for JRuby is the cost of
bringing Java objects into the Ruby environment. Currently, all
objects get wrapped with a small wrapper object that implements
IRubyObject. This is primarily because all our call logic requires
receivers and arguments to all be
11 matches
Mail list logo