Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 4.4.0
-
None
Description
1.
qt-creator-opensource-src-4.4.0/src/libs/qtcreatorcdbext/pytype.cpp:283]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster.
Source code is
if (typeName.find("<function>") == 0)
2.
src/libs/qtcreatorcdbext/pytype.cpp:412]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster.
Source code is
if (typeName.find("enum ") == 0)
Attachments
For Gerrit Dashboard: QTCREATORBUG-18849 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207189,2 | Debugger: Replace string::find() with faster compare() | 4.5 | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |