Go to file
Raph Levien 8185e47822 Add an LRU cache plus hashing primitives
This patch adds a hashtable-based LRU cache. This should be
significantly higher performance than the GenerationCache it is intended
to replace. It is a large part of the fix for bug 7271109
TextLayoutCache low-level performance issues.

We added a new method to BasicHashtable to detect when rehashing is
needed, because the internal linked list pointers would get invalidated
by that rehashing.

Also, the hash_type specialized to pointers had a small flaw.

Change-Id: I950c2083f96519777b851dbe157100e0a334caec
2012-10-26 16:09:22 -07:00
build Fix issue #7271589: Cannot set Ocean HD live wallpaper 2012-10-03 11:27:19 -07:00
cmds Include Global table in bugreports. 2012-10-01 12:52:42 -07:00
data/etc Add android.hardware.camera.any feature to camera permissions. 2012-09-23 09:53:51 -07:00
include Add an LRU cache plus hashing primitives 2012-10-26 16:09:22 -07:00
libs Add an LRU cache plus hashing primitives 2012-10-26 16:09:22 -07:00
opengl am f58475b5: am 60393d45: Merge "Add runtime debugging capabilities to OpenGL" into jb-mr1-dev 2012-10-18 17:39:13 -07:00
services am ef36f2a8: am d17e3b5f: prevent a client from crashing surfaceflinger 2012-10-22 15:38:00 -07:00
MODULE_LICENSE_APACHE2
NOTICE