Re: Float/Double compare

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

 



On Sat, 2007-06-30 at 16:57 -0400, Ian Rogers wrote:
> In terms of performance I just tried sorting an array of floats with the 
> new code (floatAsIntBits should have been floatToIntBits, sorry). The 
> test was to initialize an array of floats backwards and then sort it to 
> be ascending. Running a large enough array and enough iterations to get 
> a ~4 second run, using the Jikes RVM's optimizing compiler, the speed up 
> was around 7.77% on a Pentium 4 Linux box.

Hi Ian!

Could you try that also on an Athlon box?  As I can remember significant
performance differences on these two implementations.

I/you could also try the different Java implementations with CACAO on
different architectures.  Although we don't optimize that much as
JikesRVM.

- twisti



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux