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
{{ message }}
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
I was wondering if I can get rid of the MapIter as public API in NumPy thinking that Theano is end-of-life, but Aesara clearly isn't :).
Now, in new NumPy versions simple np.add.at() calls are vastly faster than manual MapIter use. But there are two problems:
The better speed is relatively new (1.25 probably).
It doesn't cover all paths, and the rest of the paths are still terrible so your version is probably at least 5x faster for those for the others, ours is probably 2-5x faster (speed factors are just wild guesses).
So, I guess this is just an FYI that at some point replacing the MapIter use with a direct np.add.at call is probably vastly better. I thought theano also had an advanced-indexing equivalence (which should just use advanced indexing). But I don't see it, so maybe that is already replaced.