You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So you would accumulate on top of the value already stored in the array? That's an interesting idea! Can you elaborate on how it replaces .at, maybe with an example?
Deciding on doing this would probably need some discussion on the list, but implementing it should be relatively straightforward.
TBH I feel it would be preferable to fix the performance of ufunc.at; OTOH given the discussion on #5922 I guess it's not going to happen any time soon, and this may be a reasonable and simpler to implement workaround.
Activity
jaimefrio commentedon Aug 31, 2016
So you would accumulate on top of the value already stored in the array? That's an interesting idea! Can you elaborate on how it replaces
.at, maybe with an example?Deciding on doing this would probably need some discussion on the list, but implementing it should be relatively straightforward.
anntzer commentedon Aug 31, 2016
Basically, you'd replace
by
TBH I feel it would be preferable to fix the performance of
ufunc.at; OTOH given the discussion on #5922 I guess it's not going to happen any time soon, and this may be a reasonable and simpler to implement workaround.seberg commentedon Aug 31, 2016
I think you can get a speedup of maybe even up to 5 without completely overhauling
ufunc.atimplementation, though.mattip commentedon Feb 1, 2023
In PR #23136
ufunc.add.atbecame fast enough that I think it can be used for this.mattip commentedon Feb 8, 2023
Closing, #23136 was merged