Don't foreach on QHash::keys()
Saves 1 whole QHash iteration, 1 allocation due to temporary QList creation and 1 lookup because we don't call value() anymore.
parent
39ecdbd3
Please register or sign in to comment
Saves 1 whole QHash iteration, 1 allocation due to temporary QList creation and 1 lookup because we don't call value() anymore.