summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2021-06-04 16:07:23 -0700
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-01 11:00:10 +0000
commit41e61af1bc6282f47b6cb6d47597c75db00f062b (patch)
tree43fab01898a2a403375addfb86bee7e9391bc0e4 /startop/scripts/lib/cmd_utils.py
parentf996aa26326d9361772bc3fae1f9568efb44fc4d (diff)
Improve ellipsize performance
Instead of iterate all ellipsized characters, only iterate the necessary ranges for copying. Bug: 188913943 Test: atest CtsTextTestCases CtsGraphicsTestCases CtsWidgetTestCases Change-Id: I3d03b1e3897e427c23fbe51315f412c57a4ce9e9 (cherry picked from commit 2c6121f3e3c52965ae33317e4fe7a273fd1742c6) (cherry picked from commit 40d7a4535aba93073264bf8998daf588f0923986)
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions