[vtk-developers] hast table in VTK
Moreland, Kenneth
kmorel at sandia.gov
Thu Dec 9 11:50:53 EST 2004
> If all you want to do is store objects in a hash table for
> fast lookup, just use the pointer value as the hash key. You
> can just copy the pointer value to an integer and then send
> it through a hash function.
The pointer value is not always a valid value to hash on. Sometimes
objects that have different pointers can be considered equal.
-Ken
More information about the vtk-developers
mailing list