python-pathfinding
python-pathfinding copied to clipboard
speed up by using multiprocessing
Also python 2 will die soon changing to the async-await syntax should not be a problem!
From my understanding, asyncio in python is useful when you have IO bound operations such as reading files or sending HTTP requests. Pathfinding doesn't really have any of this as far as I can tell so don't think async would be a good match for it.
Threading seems like it would potentially be a better match although that's a whole different can of worms.
You are right, in Python multiprocessing would make more sense for cpu-bound operations like this.