• asvitkine's avatar
    Avoid some string copies in RAPPOR code. · 0037e42c
    asvitkine authored
    I remembered some RAPPOR tasks being Janky and looked
    at sampling profiler data for this code and noticed there
    was a lot of string copies. This CL makes some intermediate
    parts use StringPiece to avoid some copies. There's still
    more copies to go, but this should reduce how many we need.
    
    BUG=none
    
    Review-Url: https://codereview.chromium.org/2156383002
    Cr-Commit-Position: refs/heads/master@{#406125}
    0037e42c
reports.cc 2.18 KB