commit | 968c813361ce84e19db3a3765efb253bbeeb7783 | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Tue Nov 02 16:47:54 2021 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Nov 04 07:39:11 2021 +0000 |
tree | 29d31f4ffcd6777c3c1ba2df11eb421d95dc2c49 | |
parent | 91c795f68ed86ff6067adc691100ddc812d4a004 [diff] |
Avoid redundant strlen for shorty names As the shorty names are ASCII, we can safely use the UTF16 length as the byte length. Update several ART files to use the shorty getters that return the length to avoid redundant strlen calls. This strlen usage was showing up as a minor part of a recent Play Store app startup profile. Bug: 204230974 Test: Manual Change-Id: I4f5fb100303f465ed50b524ee5e349c8341a05e9