diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-01-28 20:32:20 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-01 12:57:47 (GMT) |
commit | c830656616977d417972e2497ff3135bc562a660 (patch) | |
tree | 4906f9c0fe81b90fb22bbdda5f1a5d8932a234c7 /src/corelib/animation/qparallelanimationgroup.h | |
parent | a788f7e3a04ec741d59ef458a40e39d918dc1df0 (diff) | |
download | Qt-c830656616977d417972e2497ff3135bc562a660.zip Qt-c830656616977d417972e2497ff3135bc562a660.tar.gz Qt-c830656616977d417972e2497ff3135bc562a660.tar.bz2 |
optimize qhash()
on any modern architecture, an 1 out of 16 times needlessly executed
shift (even if a long one) and xor are less expensive than a pretty much
randomly 1 out of 16 times differently taken conditional jump. so simply
remove the conditional. ~15% faster on Core2.
Reviewed-by: joao
Diffstat (limited to 'src/corelib/animation/qparallelanimationgroup.h')
0 files changed, 0 insertions, 0 deletions