Added string concatenation samples

This commit is contained in:
Klaus Basan
2017-01-13 22:44:21 +01:00
committed by Mathew Sutcliffe
parent 265b6d33f0
commit 5420aee195
3 changed files with 93 additions and 5 deletions

View File

@@ -53,6 +53,7 @@ int main(int argc, char *argv[])
qtout << "6e .. JSON performance" << endl;
qtout << "6f .. JSON model performance (database vs. own JSON)" << endl;
qtout << "6g .. string utils vs.regex" << endl;
qtout << "6h .. string concatenation (+=, arg, ..)" << endl;
qtout << "7 .. Algorithms" << endl;
qtout << "-----" << endl;
qtout << "x .. Bye" << endl;
@@ -68,7 +69,8 @@ int main(int argc, char *argv[])
else if (s.startsWith("6d")) { CSamplesPerformance::interpolatorScenario(qtout, 40, 20); }
else if (s.startsWith("6e")) { CSamplesPerformance::samplesJson(qtout); }
else if (s.startsWith("6f")) { CSamplesPerformance::samplesJsonModel(qtout); }
else if (s.startsWith("6g")) { CSamplesPerformance::samplesString(qtout); }
else if (s.startsWith("6g")) { CSamplesPerformance::samplesStringUtilsVsRegEx(qtout); }
else if (s.startsWith("6h")) { CSamplesPerformance::samplesStringConcat(qtout); }
else if (s.startsWith("7")) { CSamplesAlgorithm::samples(); }
else if (s.startsWith("x")) { break; }
}