Re: [Numpy-discussion] NEP 49: Data allocation strategies

2021-04-21 Thread Matti Picus
See my comments interspersed in Ralf's reply. Thanks for the additional context. Matti On 21/4/21 3:10 am, Ralf Gommers wrote: ... Motivation and Scope Users may wish to override the internal data memory routines with ones of their own. Two suc

Re: [Numpy-discussion] NEP 49: Data allocation strategies

2021-04-21 Thread Ralf Gommers
On Tue, Apr 20, 2021 at 2:18 PM Matti Picus wrote: > I have submitted NEP 49 to enable user-defined allocation strategies for > the ndarray.data homogeneous memory area. The implementation is in PR > 17582 https://github.com/numpy/numpy/pull/17582 Here is the text of the > NEP: > Thanks Matti!

[Numpy-discussion] NEP 49: Data allocation strategies

2021-04-20 Thread Matti Picus
I have submitted NEP 49 to enable user-defined allocation strategies for the ndarray.data homogeneous memory area. The implementation is in PR 17582 https://github.com/numpy/numpy/pull/17582 Here is the text of the NEP: Abstract The ``numpy.ndarray`` requires additional memory alloca