-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
numpy ndindex is slower than itertools alternative #28921
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
Comments
Doubt that you are missing anything. IIRC, That might look smart initially, but if you think about it slightly longer, it just adds additional work. EDIT: Of course |
Hi @ricardoV94 I’ve reviewed the current I’d like to:
Could I work on this? Any guidance on additional edge cases or testing practices would be appreciated! |
Sounds like a good path. Please open a PR with the proposed implementation and run the tests. That way we have a good basis to see what else to do or if there is something that we missed. |
Uh oh!
There was an error while loading. Please reload this page.
Proposed new feature or change:
I don't know if I am missing something, but numpy ndindex is underperforming over all input sizes here (I tried different ndims as well):
The text was updated successfully, but these errors were encountered: