diff options
author | Li Li <dualli@google.com> | 2020-10-15 12:03:02 -0700 |
---|---|---|
committer | Li Li <dualli@google.com> | 2020-10-21 11:26:11 -0700 |
commit | 30c3199707be8207e22a15c247b105ea5e3dd36b (patch) | |
tree | 6ce2f1747590512cb9285916c87fcb1628fd002d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f323b01e4b3db8fee79dc0fe9614aa400eddc55c (diff) |
Perf: improve updateGlobalCellId
String.format() used in updateGlobalCellId is heavy and slow. Unit
benchmark shows that formatSimple is about 5-10x faster.
Bug: 168639120
Test: Confirmed the calculated IDs are the same. The dogfood phone works
with master local build.
Change-Id: I7707a42efc74eadb133100d8b2b769301e56c100
Signed-off-by: Li Li <dualli@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions