summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/15/changes
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-12-08 16:03:00 -0800
committerGilles Debunne <debunne@google.com>2011-12-08 16:03:00 -0800
commitc1f44830809f0a8526855f13822702ea756214fa (patch)
tree274f26f7b9b9911b6ad5cc0601dfb91df475fe47 /docs/html/sdk/api_diff/15/changes
parent97ff7893321362020211fae3c5a52b95c3ec19e1 (diff)
Re-use SpanSets in TextLine
TextLine objects are already stored in a pool to limit allocation. Associate SpanSet objects to each TextLine to further limit the allocation of these and re-use their internal arrays (re-sized if needed). Drastically reduces new objects allocation during rendering. Priority code removed in init: priorities are already handled by getSpans. This is a duplicate of the already accepted https://android-git.corp.google.com/g/#/c/153970/ but without the dependency on an other CL. Change-Id: Iaa7e2f7a8ea4337c8d60c3a9a620e9e3e60caf12
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions