diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-21 20:10:51 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-21 20:10:51 +0000 |
commit | c9d66eb05b3e76e3d33e4f11525ef888f1629234 (patch) | |
tree | 36a8cbdc2a0390c253ec541168691353df741a01 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d87ea9a1c9190737ee23a4eda641d0fb1b8b489d (diff) | |
download | bcm5719-llvm-c9d66eb05b3e76e3d33e4f11525ef888f1629234.tar.gz bcm5719-llvm-c9d66eb05b3e76e3d33e4f11525ef888f1629234.zip |
[ADT] Compare strings' hashes first before comparing their values.
Summary:
We already have the hashes in hand, and comparing hashes should be much
more discriminatory than comparing the StringRefs' sizes.
Reviewers: rafael
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D25705
llvm-svn: 284872
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions