mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Added string concatenation samples
This commit is contained in:
committed by
Mathew Sutcliffe
parent
265b6d33f0
commit
5420aee195
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user