[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Math patch
From: |
Brian Jones |
Subject: |
Re: Math patch |
Date: |
27 Feb 2003 21:54:42 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Tom Tromey <address@hidden> writes:
> >>>>> "Brian" == Brian Jones <address@hidden> writes:
>
> Brian> I went ahead and converted all the a != a to Double.isNaN or
> Brian> Float.isNaN as appropriate. As mentioned previously a good JIT should
> Brian> optimize this... maybe even a good byte-code compiler.
>
> I think a byte compiler can't inline any call to another class. That
> would violate Java binary compatibility rules.
>
> Unfortunately gcj can't inline this call either, yet. And with gcj, a
> static method call involves a class initialization check. So this is
> hugely slower for us.
>
> Time to add another builtin. I'll put it on my to-do list. Hopefully
> this will be the last time this particular thing comes up :-).
If I need to change it back let me know. I didn't follow the
"builtin" bit.
Brian
--
Brian Jones <address@hidden>