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: nopull/16699/head
parent
ccbad108e4
commit
c1a1d66864
2 changed files with 8 additions and 2 deletions
Loading…
Reference in new issue