diff options
| author | Elliott Hughes <enh@google.com> | 2010-01-04 15:23:25 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2010-01-04 16:20:43 -0800 |
| commit | 32881d70f0df98abf9ce9a2a6a7a69ab3e069d26 (patch) | |
| tree | dfa39e78358c1377ef09be5cf2cfa244657834d5 /vm/compiler/codegen/CompilerCodegen.h | |
| parent | cfb66e820d16c319e6c19369a345adc4da31c9d3 (diff) | |
Speed up DecimalFormatSymbols.
We don't need to create temporary String objects; we can just pass a char
directly. We also don't need to initialize aspects of our native peer if
we know we're going to overwrite them straight away, and making copying
into ICU the responsibility of the icu4jni class rather than the java.text
is slightly cleaner.
Together, these changes make creating a new NumberFormat about 20% faster.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
