diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-24 18:38:17 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-02-24 23:29:48 +0000 |
commit | 8b5651eb41954cbcbcb3ddd66179711dac0bc1df (patch) | |
tree | 987ce6ef0fbbd33517231c78806f4953f93afa45 /src/corelib/tools/qunicodetables_p.h | |
parent | 3376e67abe3a1ae5b3293b9c71b51e477c026b83 (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/qunicodetables_p.h')
0 files changed, 0 insertions, 0 deletions