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

Too slow.. #10

Open
akshaynagpal opened this issue Nov 26, 2016 · 4 comments
Open

Too slow.. #10

akshaynagpal opened this issue Nov 26, 2016 · 4 comments

Comments

@akshaynagpal
Copy link

It takes 6+ seconds to give me the corrected word.

print(spell('wednsday'));
wednesday
[Finished in 6.5s]

print(spell('hello'));
hello
[Finished in 6.6s]

I would love to contribute to this project. Please tell me your preferred method of contact. Till then, I will go through the code.

@v2thegreat
Copy link

Have you considered Cythonizing it? It would greatly increase the speed.
Also, you can attempt to use numpy's arrays for tuples which you might have.

@akshaynagpal
Copy link
Author

That's also a great idea @v2thegreat . I will try when I get some time.

@v2thegreat
Copy link

hmm, I'm fairly new to GitHub, what would I have to do to make a contribution myself, @akshaynagpal?

@paulaceccon
Copy link

One thing that I notice is that it can also be high memory consuming, getting to 12 GB of my 16 GB RAM notebook and freezing the computer.

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

3 participants