diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-04-30 13:24:19 +0200 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-06-11 23:30:08 +0200 |
| commit | b24e689cb561d81745ff47a5ce4595b809923914 (patch) | |
| tree | cd1880b963222bffd350204ec62bee5bd39da511 /src/corelib/thread/qexception.cpp | |
| parent | de2c3ccd49cb89e0c6912da3b03705a36ef03946 (diff) | |
QLatin1String: optimize indexOf
Some time ago I wanted to use QStringTokenizer with a QL1S haystack and
needle to optimize a particular bottleneck. Only to realize the new
bottleneck was more expensive (continuously converting both the strings
to QString).
Change-Id: Ica86db0043c839c2336a3c3886ffbe3875659b5b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread/qexception.cpp')
0 files changed, 0 insertions, 0 deletions
