diff options
author | 2018-09-25 17:50:45 -0400 | |
---|---|---|
committer | 2018-09-25 17:50:45 -0400 | |
commit | c1a1d66864a637f06b409b1768bc05a982b28949 (patch) | |
tree | 77ae0d58b4e68402e4234150fcc8516db7d4b66f /requirements.bazel.txt | |
parent | ccbad108e45afb7c4fb361202cc0bae5ad7e5da2 (diff) |
Avoid allocating temporary strings in Channel::CreateCall().
Add `SliceFromArray()` which takes a `char*` instead of
`const string&`, to save string allocations for copying from a `char *`.
Use the new API to eliminate two string allocations and copies per call for
method and host names.
release-note: no
Diffstat (limited to 'requirements.bazel.txt')
0 files changed, 0 insertions, 0 deletions