ENH,MAINT: FFT Gufuncs could be improved with C++ and new API
Author: sebergCreated Jan 19, 2024Updated Sep 30, 2026
LabelsProject
The new ufuncs added by Marten in gh-25536 could use two improvements:
Using C++ should help cut down a lot on code duplication(this was done)- Using the new API would make some paths nicer (e.g. error handling). It would also allow to improve the way temporary memory is managed. (The place to look at is any of the string ufuncs. These are not gufuncs, but that shouldn't really matter much.)
NOTE/EDIT: The second part may still be interesting, similar for matmul actually. However, there are some things to figure out w.r.t. to how best approach this.
Source: numpy/numpy