diff options
author | Elliott Hughes <enh@google.com> | 2009-12-16 15:37:18 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2009-12-16 18:19:05 -0800 |
commit | c574d81e3de6cb92cf68bd44f7e50ac52fe2fd87 (patch) | |
tree | 287c07438028e75e5eaf0749d46b530abd95d5e7 /xml/src/main/java | |
parent | 7191768165aad1c3037758f7d819a23d4b3245f0 (diff) | |
download | libcore-c574d81e3de6cb92cf68bd44f7e50ac52fe2fd87.zip libcore-c574d81e3de6cb92cf68bd44f7e50ac52fe2fd87.tar.gz libcore-c574d81e3de6cb92cf68bd44f7e50ac52fe2fd87.tar.bz2 |
Make java.lang.Character fast.
This patch reinstates some of the upstream ASCII fast paths, adds some new
ones, and forwards all char overloads to the int methods (placing the fast
paths in the int overload), so using the int overload isn't automatically
3x slower than the char overload even for the same characters.
See the bug for benchmark results. The ASCII speedups are between 2x and 4x.
Bug: 2295801
Diffstat (limited to 'xml/src/main/java')
0 files changed, 0 insertions, 0 deletions