diff options
author | Colin Cross <ccross@android.com> | 2019-07-08 17:07:18 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-07-09 04:46:12 +0000 |
commit | cfec40c41b7a28f8096ec2a63cd0998fb31dd3d7 (patch) | |
tree | fbd63a71fa8d90313ca9d5c9a6097e0c3830b00a /scripts/jsonmodify.py | |
parent | 188236ff23c062384ddd1ec762e5a4aa915c448a (diff) |
Move RuleBuilder on top of strings.Builder
strings.Builder avoids copying the final byte array to a string by
using unsafe to point the string to the backing array of the byte
slice.
Test: rule_builder_test.go
Change-Id: I3d9a70fb62f8542650cd9ebc65397297bba12585
Diffstat (limited to 'scripts/jsonmodify.py')
0 files changed, 0 insertions, 0 deletions