summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcryptographichash.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-09-20 11:13:47 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-26 07:50:20 +0200
commitf6e0aa3a0f3e5577b2672667d9e416d35dce849d (patch)
tree33e0d65fcfa0b0ecfdf5d9209aff8f1edca0d459 /src/corelib/tools/qcryptographichash.cpp
parentbbd02d7086062991c9ddb561f0a5f4918171509a (diff)
don't calculate hash when the map is empty and we are not inserting
the alternative would be splitting the function into two separate overloads. that might result in better branch prediction, but will create a bit more code. Change-Id: Ia2c685bbb34a9681c71f2249d073dd960368209a Reviewed-on: http://codereview.qt-project.org/5332 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/tools/qcryptographichash.cpp')
0 files changed, 0 insertions, 0 deletions