summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-02-24 18:38:17 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-02-24 23:29:48 +0000
commit8b5651eb41954cbcbcb3ddd66179711dac0bc1df (patch)
tree987ce6ef0fbbd33517231c78806f4953f93afa45 /src/corelib/tools/qcommandlineparser.cpp
parent3376e67abe3a1ae5b3293b9c71b51e477c026b83 (diff)
QtNetwork: don't use Boyer-Moore for single-character needles
Using Boyer-Moore for single-character search strings makes no sense since there can be no skipping beyond the normal sequential search anyway. So, port to QByteArray::indexOf(char). Change-Id: I848e2ceea5ceafd0ebae402798b410f682348a75 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions