numpy NaN, not surviving pickle/unpickle?
robert.kern at gmail.com
Mon Sep 14 00:58:14 CEST 2009
John Ladasky wrote:
> In my leisure time, I would like to dig deeper into the issue of why
> object identities are not guaranteed for elements in numpy arrays...
> with elements of type "float", at least, I thought this would be
Why do you think that? We would have to keep a reference around to every scalar
object that gets created and check against that cache whenever someone accesses
an element in order to reuse the previously created object. That slows element
access down for essentially no benefit.
"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 Python-list