diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-09 20:35:59 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-18 21:38:12 -0800 |
commit | d5fa6aa58c9a35ae9013f26e7e7641a9c67f5968 (patch) | |
tree | 7afa20315c0a87377161114ce853b647832b3725 /src/gui/kernel/qpointingdevice.cpp | |
parent | 3d70b291eda8d340616b562f9e7d5bff57e05d22 (diff) |
QString: optimize equalStrings() with a template in ucstrncmp()
If the SIMD code has already determined that the byte content differs,
we don't need to actually subtract the bytes we loaded from memory in
vector operations to return a sorting result.
Change-Id: I0e5f6bec596a4a78bd3bfffd16c908b2902e1b1b
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/gui/kernel/qpointingdevice.cpp')
0 files changed, 0 insertions, 0 deletions