On 05/13/2012 10:21 PM, Jochen Theodorou wrote:
> Am 13.05.2012 19:55, schrieb Rémi Forax:
> [...]
>> I think currently Groovy allows to replace + by a method
>> that will return everything you want.
>> But here, I think the spec of Groovy (if it means something)
>> should be changed to say that wh
Hi Jochen;
I also spent some time being concerned about the integer performance but
then decided
that this concern is probably premature based on the current state of
indy. One big unknown
to me is whether EA would ever recognize my holder for the prim int or if
it would only recognize
java In
Inline...
On May 13, 2012 3:15 PM, "Jochen Theodorou" wrote:
>
> Am 13.05.2012 19:21, schrieb Charles Oliver Nutter:
> [...]
> > You could also encode "a+b-c" as a single invokedynamic operation, but
> > I guess you're looking for a general solution...
>
> yes, I am looking for a general solution
Am 13.05.2012 19:55, schrieb Rémi Forax:
[...]
> I think currently Groovy allows to replace + by a method
> that will return everything you want.
> But here, I think the spec of Groovy (if it means something)
> should be changed to say that when your replace a method
> by another, the return type m
Am 13.05.2012 19:21, schrieb Charles Oliver Nutter:
[...]
> You could also encode "a+b-c" as a single invokedynamic operation, but
> I guess you're looking for a general solution...
yes, I am looking for a general solution. I was thinking of making the
whole expression as a MethodHandle combinati
On 05/13/2012 07:21 PM, Charles Oliver Nutter wrote:
> On Sun, May 13, 2012 at 11:04 AM, Jochen Theodorou wrote:
>> I wanted to ask you of your opinion. If I am going to compile something
>> like a+b-c and a,b,c are all primtives, but I won't know that the
>> results will be really the primtives t
On Sun, May 13, 2012 at 11:04 AM, Jochen Theodorou wrote:
> I wanted to ask you of your opinion. If I am going to compile something
> like a+b-c and a,b,c are all primtives, but I won't know that the
> results will be really the primtives too, then this means I will most
> probably compile it like
Hi all,
I wanted to ask you of your opinion. If I am going to compile something
like a+b-c and a,b,c are all primtives, but I won't know that the
results will be really the primtives too, then this means I will most
probably compile it like this:
invokedynamic("minus", invokedynamic("plus",a,b