Ignore wormholes in CYapfNodeKeyExitDir hash function
commitf89a03cbd3b105875a7496754fe932ab2a66cfb2
authorcirdan <cirdansw@gmail.com>
Sat, 15 Feb 2014 22:02:46 +0000 (15 23:02 +0100)
committercirdan <cirdansw@gmail.com>
Sat, 15 Feb 2014 22:02:46 +0000 (15 23:02 +0100)
tree3f39c37789651f4650d89804f38ac3ec09cd3482
parent8e1b0307193cd0afb3cbec1935a10df33f197cac
Ignore wormholes in CYapfNodeKeyExitDir hash function

Ignore whether the current position is in a wormhole when computing
its hash in CYapfNodeKeyExitDir. This can cause collisions between
a position on a bridge and another one under it, but positions in
a wormhole are rare overall, having a track running along a bridge
under it is even rarer and anyway hash values need not be unique,
and this is all better than severely underusing one bit of hash
space.
src/pathfinder/yapf/yapf_node.hpp