commit | 65fe28fa88daad08f3be4c084ca5b4eaa366d1a7 | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Fri Apr 06 18:08:53 2012 -0700 |
committer | Andy Huang <ath@google.com> | Fri Apr 06 18:09:00 2012 -0700 |
tree | c9650f077867e4706c353050160832131fee91e2 | |
parent | 68ab9316b8ec08a24f12dc16c626a78b77728d3e [diff] |
optimize low-hanging fruit found using traceview * View.getTag/setTag is a slow way of finding an overlay view; switch to a SparseArray * this also obsoletes mChildrenToRemove since we can immediately remove overlays from the SparseArray * bring back the Email Address cache to avoid repeated parsing * avoid repeatedly calling findViewById for each header * cache expensive timestamps and recipient summary strings Change-Id: Ic76265848e4956a28a44c4a2e3e726ec9ef6bfaf