PathFinding.js
PathFinding.js copied to clipboard
Speed things up using asm.js?
Pathfinding looks like a great candidate to take advantage of the performance boost asm.js can provide. Did anyone experiment with it?
Not yet, if you have any numbers, don't hesitate to share.
Maybe just starting by using ArrayBuffers instead of traditional arrays can be a quick win since you have the guarantee that allocated memory is continuous (therefore much less cache misses).
also asynchronous pathfining might be an alternative to speed things up, see for example easystar.js