Original Post
Hello ! I'm looking for the best dictionnary data structure ;) Actually, i'm using a very general case dictionary based upon AVL tree. This structure works very well, but i have noticed that in my system, most of the time, i used this dictionnary with a key of type UInt32 ( which is generaly the adress of the object currently stored .... ) The problem with my current dictionary, is that it is pretty ... "heavy" ... Each time i add an entry, i need to allocate a new node, edit link .... And the acces is pretty slow too ... I was just wondering if there was not a better data structure more adapted to this application: Store object in a dictionnary where the key is an UInt32. Maybe Hash map ??? But i do not get how hash map work exactly .... Do you think hash map would solve my problems ... Thanks you ;) Clem