[Numpy-discussion] is ndarray.base the closest base or the ultimate base?

Robert Kern robert.kern@gmail....
Wed Sep 23 13:49:24 CDT 2009


On Wed, Sep 23, 2009 at 13:30, Citi, Luca <lciti@essex.ac.uk> wrote:

>>> http://projects.scipy.org/numpy/ticket/1085
> But I think in that case it was still an improvement w.r.t. the current implementation
> which is buggy. At least it shields 95% of users from unexpected results.
> Using memory addresses and extents might be overkilling (and expensive) in that case.

numpy.may_share_memory() should be pretty cheap. It's just arithmetic.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the NumPy-Discussion mailing list