DescriptionAvoid many temporary allocations when serializing service protocol responses
- [x] Use an on stack buffer for small string allocations.
- [x] Avoid unnecessary calls to strlen.
Related #29207
BUG=
R=rmacnak@google.com, zra@google.com
Committed: https://github.com/dart-lang/sdk/commit/904beb3d9d2e86ffcf933fd5076a0979af1dba47
Patch Set 1 #
Total comments: 4
Patch Set 2 : zra review #Messages
Total messages: 11 (4 generated)
|