[Python-Dev] int/float freelists vs pymalloc
Neil Schemenauer
nas at arctrix.com
Thu Feb 14 20:50:31 CET 2008
Christian Heimes <lists at cheimes.de> wrote:
> +1 on focusing on improving pymalloc to handle int and float
> object allocations even better
I wonder if the int and float types could use a faster internal
pymalloc interface. I can't remember the details but I seem to
recall that pymalloc must jump through some hoops in order to be
safely called from code that used to call PyMem_New, etc. I think
locking was one problem but there might be others.
Neil
More information about the Python-Dev
mailing list