DescriptionSearchSuggestionParser: JSON deserializer now accepts a StringPiece.
Internally, it slices the StringPiece instead of erasing pieces of the
string, so we have 0 copies of these JSON strings. This is possible now
that JSONStringValueSerializer takes a StringPiece.
BUG=455068
Committed: https://crrev.com/b04f6a3a5f2f4896bdd8df7c60d3cc6d7a4714fd
Cr-Commit-Position: refs/heads/master@{#314936}
Patch Set 1 #Patch Set 2 : DeserializeJsonData accepts a StringPiece so there are 0 copies from the creation of the string. #
Total comments: 2
Patch Set 3 : Unconditionally call remove_prefix, since there is no penalty. #
Messages
Total messages: 9 (3 generated)
|