summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorMattias Petersson <mattias.petersson@sonyericsson.com>2010-12-21 10:15:11 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-12-21 10:15:11 +0100
commit33b432476edbc8b8d39f5f70e594b6bc71317286 (patch)
tree6436bbb63ce6fa1704baf83807c593834d55247a /libs/rs/rsg_ScriptJavaClass.cpp
parente78a000955c283509ee8a21b8b7e448060ac8dd8 (diff)
Improve performance of WindowState.toString()
This fix improves the performance by caching the string that should be returned, and reuse it next time if possible. This will make it faster to switch between activities, approximately half the time to create the new view when changing from landscape to portrait. Also, the time for starting a new application is be reduced as WindowState.toString is being called thousands of times in this case. Change-Id: I2b8b9bc1e251d1af43b6c85f049c01452f2573a2
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions