Please review The implementation of a fast-path algorithm for optimizing the DecimalFormat.format(double, ...) call stack.

The webrev is here :
http://cr.openjdk.java.net/~olagneau/7050528/webrev.02/

As described in the CR evaluation and suggested fix, the speed-up on a dedicated micro-benchmark is more than x10 on either SPARC or x86 architectures. The footprint cost is ~6kbytes from a static
char array constant data to collect digits from integer values.

There is an associated regression test, together with a micro-benchmark that may be run optionally.

--
Olivier Lagneau, olivier.lagn...@oracle.com
Oracle, 180 Av. de l'Europe,
ZIRST de Montbonnot, 38334 Saint Ismier, FRANCE
Phone : +33 4 76 18 80 09 Fax : +33 4 76 18 80 23

Reply via email to