[llvm-bugs] [Bug 19900] string::operator==(const char *) unnecessarily computes rhs length, then doesn't take advantage of it
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 27 20:04:52 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=19900
Eric Fiselier <eric at efcs.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Eric Fiselier <eric at efcs.ca> ---
Fixed in r246266. We couldn't prevent the length calculation from taking place
but it is now used to check for equality before performing the char-by-char
comparisons.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150828/b3e5f734/attachment.html>
More information about the llvm-bugs
mailing list