-
Notifications
You must be signed in to change notification settings - Fork 572
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
PrimePY: using array slicing #2
Conversation
Changed to use array slicing and numpy. Increases perf by 20x Signed-off-by: Janne Kotka <lekonna@gmail.com>
I have also one without numpy. keep the initialization as in the original and replace the for loop with |
I think that we can consider slicing faithful, but I am open to discussion. |
IMO, it might be a good idea to have separate python and python_numpy implementations. |
I would agree that slicing is faithful. However, we can't merge this PR until it is opened on the drag-race branch. |
Closing due to lack of contributor response. Can be reopened on drag-race branch if desired. |
1 similar comment
Closing due to lack of contributor response. Can be reopened on drag-race branch if desired. |
Changed to use array slicing and numpy. Increases perf
by 20x
Signed-off-by: Janne Kotka lekonna@gmail.com