I always missed something like a hash in the irrlicht library. So i propose to add the following:
An interface with the method
Code: Select all
u32 getHash()
As Hash itself i'd suggest to use a avl-tree with the hash as key.
Moreover i would add this method to some of the other standard classes like string.
What do you think about it? If you support the idea i could post a reference implementation in about one day