DescriptionThe main target of this CL is to avoid calling strlen() where possible.
It can happen if a raw |char*| literal or result of |c_str()| function is used
to construct a StringPiece or std::string objects.
In addition, StringPiece API like SplitStringPiece was used to avoid
unnecessary string copying and allocations.
BUG=679479
Review-Url: https://codereview.chromium.org/2777203004
Cr-Commit-Position: refs/heads/master@{#460203}
Committed: https://chromium.googlesource.com/chromium/src/+/b5d44bb49fd4dc5e544f4312de6b00b1a1eb625c
Patch Set 1 #
Total comments: 4
Patch Set 2 : Keep DCHECKs. #
Messages
Total messages: 21 (6 generated)
|