QHash vs. unordered_map

Milian Wolff mail at milianw.de
Wed Nov 21 19:15:58 UTC 2012


Hey all,

can you please share the numbers for a release build running the following 
test from KDevplatform:

language/duchain/tests/itemrepositorytest.shell testStringHashPerformance

See 7465cc39f13edc4a4e99cf033a5751c8339018e0 for my numbers. If people can 
confirm this, then I'll refactor our code to use QHash and drop the nasty 
ifdef code.

Cheers

PS: Looking at the usage of hash_map in KDevelop's cpp parser, I'd say that 
its just overdesigned and could also easily be using a QHash.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121121/519f8c2f/attachment.sig>


More information about the KDevelop-devel mailing list