>>>>> "Brian" == Brian Jones <[EMAIL PROTECTED]> 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


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to