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

First attempt at performance optimization #103

Open
john-science opened this issue Aug 2, 2019 · 0 comments
Open

First attempt at performance optimization #103

john-science opened this issue Aug 2, 2019 · 0 comments

Comments

@john-science
Copy link
Owner

Right now the .pxd files work, and the Cythonized version is certainly faster than the pure Python code. But I haven't done any optimization for performance.

I bet there are tweaks that could be made to the pxd files, and maybe the Python code, that would make these algorithms significantly faster.

I believe a good place to start would be working with a single problem chain, say Prims for the generator and Backtracking for the solver.

  1. Make it work
  2. Make it right
  3. Make it fast

I believe (1) and (2) above are doing well. Maybe it's time to try (3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant