aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/RallocUtil.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-01-25 23:13:46 -0800
committerElliott Hughes <enh@google.com>2010-01-26 16:05:42 -0800
commiteb5822b70b3e578dbe692a60b8a93b90a9d4df93 (patch)
tree0fa8c15d6838aec50fe9bb347b1a7c24a27759a0 /vm/compiler/codegen/arm/RallocUtil.c
parent9356cdfb310410bd7f2ea091810fa9b04c6bab38 (diff)
Simplify our DecimalFormat.
Both the is-a and has-a hierarchies for our DecimalFormat implementation were over-complicated. This patch starts to address that, and makes cloning twice as fast (50us versus 100us), but not as fast as I'd like (<10us), and without making much of a dent in the time it takes to create a new NumberFormat (550us versus 600us). The speed of cloning is important because Formatter has a hack that uses it, and I want to change NumberFormat so that it always hands out clones... at least until I have time to make "new NumberFormat" acceptably fast. Also fixes DecimalFormat.applyLocalizedPattern (which used to behave as if you'd called applyPattern).
Diffstat (limited to 'vm/compiler/codegen/arm/RallocUtil.c')
0 files changed, 0 insertions, 0 deletions