[llvm-bugs] [Bug 24584] New: trunk/llvm/lib/Fuzzer/FuzzerIO.cpp:35: possible performance problem ?
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 26 04:40:59 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24584
Bug ID: 24584
Summary: trunk/llvm/lib/Fuzzer/FuzzerIO.cpp:35: possible
performance problem ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
[trunk/llvm/lib/Fuzzer/FuzzerIO.cpp:35]: (performance) Passing the result of
c_str() to a function that takes std::string as argument no. 1 is slow and
redundant.
Source code is
auto E = GetEpoch(Dir.c_str());
Suggest
auto E = GetEpoch(Dir);
--
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/20150826/b02140ec/attachment.html>
More information about the llvm-bugs
mailing list