summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2012-02-13 13:27:02 -0800
committerMarco Nelissen <marcone@google.com>2012-02-13 15:39:15 -0800
commitd121cfcbb45cb9ca734e702861f0bdd422999cf5 (patch)
tree91e8f0261bce5bf996a2f82cf595afa1f256e046 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent0bbd872ea806470fd007b8ea35f953380a8b4162 (diff)
Further optimize media scanner.
Inserts of directories can be done in bulk as long as they're inserted before the files contained within. Extend MediaInserter to accommodate giving priority treatment to directories. Bulk deleting of entries can be further sped up (by a factor of ~3 in my tests) by deleting entries in database order. Switch the file cache to use LinkedHashMap instead of HashMap to allow iterating over the cache in database order. Also use bindArgs to allow for better caching of sql statements. Change-Id: Ieb9ffc4e866c6cd505bf795eb80ff5d03ffc56bd
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions