[Numpy-discussion] Addition of a dict object to all NumPy objects

Robert Kern robert.kern at gmail.com
Sat Aug 16 02:02:53 EDT 2008


On Fri, Aug 15, 2008 at 19:30, Christian Heimes <lists at cheimes.de> wrote:
> Please also note that CPython uses a freelist of unused dict instances.
> The default size of the dict free list is 80 elements. The allocation
> and deallocation of dicts is cheap if you can stay below the threshold.

That's very useful information. Thanks!

-- 
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