commit | 7f36494e085c26c69cd5925e54028822025eff29 | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Mon Dec 12 14:32:49 2011 -0800 |
committer | Marco Nelissen <marcone@google.com> | Mon Dec 12 15:41:38 2011 -0800 |
tree | d2ac280b4ff79583b48d2f38005483da55bf383a | |
parent | e896adbc1a9576ca575aa8615b068246bef3ca24 [diff] |
Speed up media scan by caching parent directories During a media scan, a substantial amount of time was spent querying the database for the id of the parent directory. Caching these in memory helps to speed this up. b/5739292 Change-Id: I6bd7555b5879b59902deb80035cf4a5729b1b046