classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Math patch


From: Tom Tromey
Subject: Re: Math patch
Date: 27 Feb 2003 16:27:23 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "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 :-).

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]