List:MySQL++« Previous MessageNext Message »
From:David Binderman Date:October 14 2016 10:02am
Subject:ssx/parsev2.cpp: compare is better than find
View as plain text  
Hello there,


ssx/parsev2.cpp:269]: (performance) Inefficient usage of string::find() in condition;
string::compare() would be faster.


Many more in the same section of code.


Regards


David Binderman


Thread
ssx/parsev2.cpp: compare is better than findDavid Binderman14 Oct