AStar
AStar copied to clipboard
Implement ClosedSet as an actual set
Recent versions of ECMAScript include a Set type: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
Indeed, they are required to be implemented in sub-linear time using hash tables or similar.