replicant-frameworks_native/include/utils
Kenny Root 9e333ab42c Use UTF-8 strings to avoid duplicate caching, part 1
StringBlock instances containing UTF-8 strings use a cache to convert
into UTF-16, but using that cache and then using a JNI call to NewString
causes the UTF-8 string as well as two copies of the UTF-16 string to
be held in memory. Getting the UTF-8 string directly from the StringPool
eliminates one copy of the UTF-16 string being held in memory.

This is part 1. Part 2 will include ResXMLParser optimizations.

Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
2010-02-23 10:02:20 -08:00
..
ashmem.h
Asset.h
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
Buffer.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h
KeyedVector.h
List.h
Log.h
misc.h
RefBase.h
ResourceTypes.h Use UTF-8 strings to avoid duplicate caching, part 1 2010-02-23 10:02:20 -08:00
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
String8.h
String16.h
StringArray.h
SystemClock.h
TextOutput.h
threads.h
Timers.h
TypeHelpers.h
Vector.h
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h
ZipUtils.h