diff options
author | 2013-06-03 18:42:55 +0900 | |
---|---|---|
committer | 2013-06-18 20:33:52 +0900 | |
commit | d55baf06d96aff0b67979419c37ac3ebdc44768c (patch) | |
tree | 705bf853b8eecfd80e2d90cd25d2e88eecee558c /java/src/com/android/inputmethod/latin/ResourceUtils.java | |
parent | 27d9c6f795a0856c401b3d4189f60be71bac0e98 (diff) | |
download | latinime-d55baf06d96aff0b67979419c37ac3ebdc44768c.tar.gz latinime-d55baf06d96aff0b67979419c37ac3ebdc44768c.tar.xz latinime-d55baf06d96aff0b67979419c37ac3ebdc44768c.zip |
Optimize ProximityInfo#computeNearestNeighbors()
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.
Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ResourceUtils.java')
0 files changed, 0 insertions, 0 deletions