diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-04-20 21:29:15 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@google.com> | 2020-04-21 22:59:26 +0000 |
commit | 0223df096ca4d25112e9b014a6591b982db4dfc1 (patch) | |
tree | fcb6bc45208e315eefb108fa60cc5e0d03ce8e28 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d387e79ae1cbc6b4fd16bfc315ec2fc63f6f6aca (diff) |
Update some Parcelables to send Strings UTF-8.
An earlier CL with benchmarks has shown that sending strings as UTF-8
is 50% faster for US-ASCII strings, and still 68% faster for complex
strings referencing higher Unicode planes. (So an improvement in
both cases!)
Since code across the OS still makes heavy assumptions about Parcel
strings typically being UTF-16, we need to carefully migrate
Parcelables by hand, which is what this CLs begins doing.
This is a purely mechanical refactoring with no functional changes.
Bug: 154436100
Test: manual
Exempt-From-Owner-Approval: trivial refactoring
Change-Id: Ia9e581efd7c40269342b7528ca07363deb843c0f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions