Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up by using multiprocessing #5

Open
brean opened this issue Nov 29, 2017 · 3 comments
Open

speed up by using multiprocessing #5

brean opened this issue Nov 29, 2017 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@brean
Copy link
Owner

brean commented Nov 29, 2017

inspired by easystarjs

@brean brean added the enhancement New feature or request label Nov 29, 2017
@brean brean self-assigned this Dec 8, 2017
@brean
Copy link
Owner Author

brean commented May 23, 2019

Also python 2 will die soon changing to the async-await syntax should not be a problem!

@ClementJ18
Copy link
Contributor

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.

@brean brean changed the title use async.io for asynchronous path finding speed up by using multiprocessing Jun 24, 2023
@brean
Copy link
Owner Author

brean commented Jun 24, 2023

You are right, in Python multiprocessing would make more sense for cpu-bound operations like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants