commit | b605a4f9a8797046ea1aa05f3405a77fb9a80a76 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Mon Sep 23 12:57:09 2013 -0700 |
committer | Ian Rogers <irogers@google.com> | Mon Sep 23 12:57:09 2013 -0700 |
tree | 1173f9c050d1bae8bdf8ba8950e0995c42fc97ba | |
parent | 2e2deeb6df3e5a952c194276146706e63ab644a1 [diff] |
Avoid std::string allocations in HasSameNameAndSignature. Creating a signature requires a std::string that's only used for the purpose of a comparison. Avoid the std::string by comparing the elements of the method's proto_ids. Change-Id: I4394df2ac20bb5896936954f68937fad7e9f7e91