commit | ac4a181d2e02f2dd375c61ce231d35e50d0d1836 | [log] [tgz] |
---|---|---|
author | Peter Eliasson <peter.eliasson.x@sonyericsson.com> | Thu Nov 18 02:43:30 2010 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Thu Nov 18 07:28:06 2010 +0100 |
tree | be062387d54f42b039af15a7003a5793bfa8d59f | |
parent | 9de93424cc05446e3a216f406c55a3937c028416 [diff] |
Improve performance when getting styled string. The style used in the composing text for input methods takes a long time to create. This is experienced as a lag when composing the first word. The bottleneck lies in the 10 calls to nativeIndexOfString which does a linear search through thousands of strings. Change-Id: I3184b2be3673d384cca19e9a70ad94b4d3085576