diff options
author | Gilles Debunne <debunne@google.com> | 2011-10-25 15:05:16 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-12-08 18:26:49 -0800 |
commit | be5f49fb6e17e0b9588d3b94022b7e3eb6d47317 (patch) | |
tree | c43ccec9adf34841d9c5442bc8f1fff75d330a21 /tools/aidl/generate_java_rpc.cpp | |
parent | df3722895172e03c81787f62d922daabaad3e20b (diff) |
Performance improvements for long text edition.
Limit each parse to batches of a few words, to keep the UI thread
responsive.
Possible optimizations for the future:
- SpellCheck in a thread, but that requires some locking mecanism
- Only spell check what is visible on screen. Will require additional
spans to tag the pieces of text.
This is a cherry pick of 145656 into ICS-MR1
Patch Set 2: Make the Runnable shared and stop it when detached.
Change-Id: Ibf8e98274bda84b7176aac181ff267fc1f1fa4cb
Diffstat (limited to 'tools/aidl/generate_java_rpc.cpp')
0 files changed, 0 insertions, 0 deletions