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 | 2932c3f942b4f52f113a52fbeb261a14c4e14cd4 (patch) | |
tree | a139361abf89c58fde67543bff01b769333cc532 /src/network/ssl/qsslsocket_mac.cpp | |
parent | b3863464687aa406f1acf90ab2ff9a1cb29d868c (diff) |
QString: introduce ucstreq() to optimize equalStrings()
If the lengths aren't equal, the strings can't be equal either, so we
can skip the entire comparison. Some of the front-end functions that
call these entry points already check for this, actually.
Change-Id: Ib42b3adc93bf4d43bd55fffd16c8ceb9594512f2
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_mac.cpp')
0 files changed, 0 insertions, 0 deletions