diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-15 14:13:24 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-08-03 20:26:56 +0000 |
commit | dc8d4fe30f2f88982166b5c593f90deb3964fb52 (patch) | |
tree | 8f5b2e08e2bdc0248e09b6f5af8a9c8f3d6851c5 /src/tools/uic/uic.h | |
parent | 98dda3f5ac8e96fe34a343b4fc8cab1dc6939513 (diff) |
QUrl: Add qustrchr() and use it to speed up the fast URL full decoding
The character search in the findChar() static function in qstring.cpp is
more efficient than what we had in qurlrecode.cpp and there's no point
in duplicating it. It also has a Neon implementation. So make the
implementation available for use in QtPrivate::qustrchr().
This also simplifies the implementation.
Change-Id: Ib48364abee9f464c96c6fffd152eedd0cd8ad7f8
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/uic/uic.h')
0 files changed, 0 insertions, 0 deletions