commit | 3684089aba82df3f7a0c111e7c96ed8b0380e57a | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Mon Oct 19 11:21:48 2009 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Wed Oct 21 12:18:33 2009 -0700 |
tree | 2f1b24718a1f4ae08776ed50e4711419a2c16556 | |
parent | 315dd702d006aedf2f867d3fe49e31e05e4f9a16 [diff] |
ContactsProvider2 optimization: Performing name and email lookup entirely in the database Instead of loading name lookup rows into memory and constructing a query to find matches, do the whole thing with a single query. Stats: Baseline: 880 yield points, 97 ms per yp, objects: 1265 per yp Optimized: 880 yield points, 88 ms per yp, objects: 1196 per yp Bugs: http://b/2148604, http://b/2148605 Change-Id: I444e5739e555bb7a6fdd144ac7a5f37930bffed0