Ian
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.
- Float/Double compare Ian Rogers
- Re: Float/Double compare Ian Rogers
- Re: Float/Double compare Ian Rogers
- Re: Float/Double compare Christian Thalinger
- Re: Float/Double compare Mark Wielaard
- Re: Float/Double compare Ian Rogers
- Re: Float/Double compare Andrew Haley
- Re: Float/Double compare Ian Rogers
- Re: Float/Double compare Andrew Haley