-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat: add APIs around Array splitting #125
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code duplication.
Are there still issues with this branch @digama0? |
I am tempted to suggest that these functions should be returning However |
Maybe Std should have its own |
So what is the call here? Merge like this (possibly until a Subarray API exists)? Or shall I try to develop a Subarray API for std and then re-implement this in terms of the std Subarray API. |
@hargoniX The smart call is: what do you actually need? It's definitely not a great for you to wait on a major array refactor. Do you need this now or can you wait another four or more months until something much better comes along? |
My preference would be, assuming that this PR is actually needed somewhere and the performance of this PR is sufficient for that purpose, that we add a comment suggesting that in future when there is a usable |
We want the Subarray API to be similarly expansive to the Array API. But that doesn't affect this PR much, unless the author wants to write Subarray versions of these definitions. We can always do it later. |
I'm just adding APIs that I think could be useful I don't use them (yet). |
I'd be inclined to not include these functions in stdlib. The performance of the split variants is I'm separately partial to Expanding the subarray API (or theorems) would be great though. |
Heartbeat check: is this PR still active? If it is then just give a thumbs up and I will delete this comment. |
I'm not going to invest more time in it. |
Understood. I'm removing |
No description provided.