GitHub user shepheb opened a pull request: https://github.com/apache/incubator-cordova-android/pull/45
Greatly improve speed of fetching contacts. We were selecting every column in a fairly wide table before. This code fetches only those columns necessary to populate the data requested by the Javascript code. In experiments with coworkers' and my own contact lists, the time to fetch ~1440 contacts has gone from over 40 seconds to less than 10 seconds. I have not tested with fewer than 1400 contacts, but I expect at least a small improvement. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shepheb/incubator-cordova-android master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-cordova-android/pull/45.patch ---- commit 9dfa462bcfc47e4d60d973ac1eafa8cf215cd523 Author: Braden Shepherdson <braden.shepherd...@gmail.com> Date: 2012-08-21T12:03:21-07:00 Greatly improve speed of fetching contacts. We were selecting every column in a fairly wide table before. This code fetches only those columns necessary to populate the data requested by the Javascript code. In experiments with coworkers' and my own contact lists, the time to fetch ~1440 contacts has gone from over 40 seconds to less than 10 seconds. I have not tested with fewer than 1400 contacts, but I expect at least a small improvement. ----