[Python-Dev] new buffer in python2.7
stefan_ml at behnel.de
Mon Nov 1 09:58:22 CET 2010
Stefan Behnel, 01.11.2010 09:45:
> If slice object creation bothers you here, it might be worth using a
> free list in PySlice_New() instead of creating new slice objects on
> You can take a look at how it's done in tupleoject.c if you want to
> provide a patch.
Hmm, that's actually a particularly bad place to look. The implementation
in listobject.c is much simpler.
More information about the Python-Dev