diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-18 11:43:02 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-21 14:08:01 -0800 |
commit | b5d480d01d9f8a3cd97c614f579008ac137c9174 (patch) | |
tree | 133c74f7852c937b06e6d1b62a67c42d4c253aa5 /src/corelib/tools/qvector.h | |
parent | 517821b1730695dc41403668854871c746face26 (diff) |
QHash: fix iteration of x86 AES hash code for len >= 32
[ChangeLog][QtCore][QHash] Fixed a bug in the qHashBits() function,
which affected the hashing of QByteArray, QString (and their View
classes), QLatin1String and QBitArray, which caused the hash to not
include the final 32 bytes of the data source. As a result, QHash
containers where the initial string was the same had a serious
performance degradation on x86 CPUs with AES support.
Fixes: QTBUG-91739
Pick-to: 6.2.3 6.2 6.3
Change-Id: Icad7c1bad46a449c8e8afffd16cb74dd43440f6c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qvector.h')
0 files changed, 0 insertions, 0 deletions