Yonaba / Jumper

Fast, lightweight and easy-to-use pathfinding library for grid-based games
http://yonaba.github.io/Jumper
MIT License
611 stars 123 forks source link

Provide faster code for clearance value calculation #5

Closed Yonaba closed 11 years ago

Yonaba commented 11 years ago

In its actual state, clearance value calculation for an entire map works quite well, but very is slow, especially on huge maps. I should probabaly try an alternate implementation, compare it to the actual one and then keep what seems to be the fastest. There is an available source, based on a recursive approach that can be taken as a reference for that alternate implementation. See AnnotatedMapAbstraction.cpp