diff options
| author | Andy McFadden <fadden@android.com> | 2009-09-02 18:07:23 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2009-09-03 12:22:51 -0700 |
| commit | 59a434629ba06d4decf7bc88a62ae370a1935f0e (patch) | |
| tree | 3b53b83996a3f8057f75716d84c74cb7acd23d67 /vm/DalvikVersion.h | |
| parent | 06f4a19f3c6d6503e936d252fb80d6ca57b29392 (diff) | |
| download | android_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.tar.gz android_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.tar.bz2 android_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.zip | |
Add inline version of String.indexOf().
This provides an inline-native version of String.indexOf(int) and
String.indexOf(int, int), i.e. the functions that work like strchr().
Has a fairly solid impact on specific benchmarks. Might give a boost to
an app somewhere.
Added some indexOf tests to 020-string.
Added hard-coded field offsets for String. These are verified during
startup. Improves some of our String micro-benchmarks by ~10%.
Diffstat (limited to 'vm/DalvikVersion.h')
| -rw-r--r-- | vm/DalvikVersion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/DalvikVersion.h b/vm/DalvikVersion.h index efbb39327..dfc95ce19 100644 --- a/vm/DalvikVersion.h +++ b/vm/DalvikVersion.h @@ -32,6 +32,6 @@ * way classes load changes, e.g. field ordering or vtable layout. Changing * this guarantees that the optimized form of the DEX file is regenerated. */ -#define DALVIK_VM_BUILD 17 +#define DALVIK_VM_BUILD 18 #endif /*_DALVIK_VERSION*/ |
