-
Notifications
You must be signed in to change notification settings - Fork 571
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
Not an issue - Python with Numba, faster than C# #3
Comments
You should open a Pull Request instead of Issue, that way other devs can include/test/compare yours. https://github.com/davepl/Primes/pulls |
@LanceMcCarthy Like i said, i mangled the code quite a bit, so i don't think it's fit for a PR. It's here for review, maybe it encourages someone more proficient with Numba to have a go. |
Actually, i see @rhbvkleef submitted #9 that closes this. As expected, he did a lot better than me, with it running about twice as fast than my naive implementation. |
Updating drag-race branch from upstream
Hello,
This is not really an issue. Wanted to share a version of the Python code using Numba. But because this is the first time i used Numba and i don't really know how to use jitclass, i had to pull the code apart so it's pretty ugly. As such, i didn't want to submit it as a pull request. Hopefully someone can make a prettier version.
On my machine this ran faster than the C# version, with 4855 iterations vs 4150.
The text was updated successfully, but these errors were encountered: