>>>>> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes:

Eric> Yes, you are right that there were no logic errors in the old
Eric> version of equals().  But the version I committed avoids 2 calls
Eric> to a native method, and accesses the field "value" directly
Eric> rather than calling "doubleValue()".

It seems to me that a JIT could easily inline doubleToLongBits.
Probably they don't though.  gcj will (not yet, but it is a simple
addition).  I think I'll keep the original code in libgcj for now.

Tom

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

Reply via email to