aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-11-17 16:55:29 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-11-17 16:55:29 -0800
commit08e0023c59828a443d993c7e6cb43bf9d197506a (patch)
treed4a0d108cbadcf3bad85d19530e19dba93dca892 /vm/compiler/codegen/CompilerCodegen.h
parent28ac5b8cfd52d1902a132a5faf8f102a8b33d6c2 (diff)
parentbb3b16f46964155b9ceead25db1c0e3841ce61a7 (diff)
Merge change I42d17725 into eclair-mr2
* changes: Cache NumberFormat and DecimalFormatSymbols objects in a ThreadLocal, so they can be reused between multiple instances of Formatter on the same thread. This speeds up my unscientific benchmark (a number of printouts involved in a debugging diagnostics output) by 3x, and should have a similar impact on anyone who uses String.format(), PrintWriter.format(), and the like.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions