harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: Float/Double comparison performance
Date Tue, 05 May 2009 13:30:35 GMT
Ian Rogers wrote:
> Also agreed with everything above :-) One final thing is that the
> final comparisons of == and < could be replaced with (NB.
> -Integer.MIN_VALUE == Integer.MIN_VALUE):
> 
> return (f1 >> 32) - (f2 >> 32)
> 
> does anyone have a performance feeling about that?

:-)  "a performance feeling"


I'll defer to others, but I don't see much in it.  I've committed the
currently agreed optimization at r771716.

Regards,
Tim

Mime
View raw message