[Qt-interest] QString ot QUuid for QHash and QMap keys?
Konstantin Tokarev
annulen at yandex.ru
Fri Oct 21 20:38:06 CEST 2011
21.10.2011, 22:21, "Jason H" <scorp1us at yahoo.com>:
> Yeah, I can find the quickest, but I was hoping for some insight :-)
If you need ultimate speed you can experiment with other hash implementations
(unordered_map, dense_hash_map from google-sparsehash, etc.). Also those
implementations allow you to change hash function, so you have a plenty of possible
combinations ;)
if you have fixed set of string keys, you can try to generate perfect hash function for it
using one of existing tools.
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list