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 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Asset.h
AssetDir.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.h
Atomic.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BackupHelpers.h Only report "unknown metadata" once per restore helper 2009-06-24 13:57:29 -07:00
Buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BufferedTextOutput.h
ByteOrder.h Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
CallStack.h
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2009-04-10 20:27:25 -07:00
List.h
Log.h
misc.h
RefBase.h
ResourceTypes.h
SharedBuffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Singleton.h
SortedVector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
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