commit | d9cffeaa478bd30ad89a9dfc9680a27ce5efaadf | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Nov 25 15:08:02 2013 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Nov 25 15:52:22 2013 +0000 |
tree | f7b4760bf715d87da5139db5b08a1af82b567fdf | |
parent | 43b971f1dd378e3765b3418c2a0fce55175ceec1 [diff] |
Faster Signature::operator==(const StringPiece& rhs). Avoid string allocation and resizing, return early if a parameter doesn't match. Change-Id: Ifc929d0c4a7a9d368432f7cae797d4326c6c44be