summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-04-19 11:10:41 -0700
committerElliott Hughes <enh@google.com>2010-04-19 14:11:34 -0700
commit6dda210e2d2e01727a6894c11300fd43cbd9b593 (patch)
tree25c745e40b2a424b0c5c3c5b3f649b616401e89d /include/ScopedJavaUnicodeString.h
parentf88ba00a6ec9c43c344fbd1708c6d4ee2b593ca0 (diff)
Speed up %d for locales with non-ASCII digits.
The small "localizeDigits" part of this change is the big speedup. It takes %d in the "ar" Locale from 5x more expensive than "en_US", to just a small percentage more expensive. The big part of this change: removing the useless Transformer and FloatUtils classes touches many lines (mostly just changing the level of indentation), and only has a small percentage effect on performance. The motivation for this is actually primarily that it makes the code easier to read, and makes it easier to share code. Change-Id: I07e86a3ee448510d9ae36579a9af283349f777f1
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions