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

Speeding up optimize_splines #6

Open
izackp opened this issue Jul 18, 2015 · 0 comments
Open

Speeding up optimize_splines #6

izackp opened this issue Jul 18, 2015 · 0 comments

Comments

@izackp
Copy link

izackp commented Jul 18, 2015

This seems to be the slowest part of the algorithm.. some ideas to speed it up (keep in mind I don't fully understand the workings of the algorithm):

Threading - Not sure if its possible, but perhaps its possible to do different sections of the image at a time.

Reducing iterations - The randomness of the optimizing seems to result in a high amount of iterations.. if there is a way to remove the random element from it then it should be possible to reduce the needed amount of iterations/guesses, as well as produce more consistent results.

I've already made a pull request that speeds it up quite a bit.

@izackp izackp changed the title Optimizing optimize_splines Speeding up optimize_splines Jul 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant