Jack
2009-10-11 09:27:24 UTC
I would like to map D3DXVECTOR3 points to
boolean values. They are used as markers of obstacles to be used in
pathfinding. I wonder which one is
faster? a hash table or std::map lookup table
for example
if Point(10,10,10) is an obstacle, I want to look it
up quickly and returns false.... or vice versa..
Thank in advance for any suggestion...
Jack
boolean values. They are used as markers of obstacles to be used in
pathfinding. I wonder which one is
faster? a hash table or std::map lookup table
for example
if Point(10,10,10) is an obstacle, I want to look it
up quickly and returns false.... or vice versa..
Thank in advance for any suggestion...
Jack