Hashmaps vs storing data in the tree

Jump to navigation Jump to search
Revision as of 25 July 2012 at 17:17.
This is the thread's initial revision.

Hashmaps vs storing data in the tree

I was working on my kd-tree and one of the changes I made was to store the data in the tree rather than in a hashmap, thinking that this would save time. However, in my benchmarks, it is much faster to use a hashmap. Does anyone know why this would be the case?

    AW18:17, 25 July 2012