[Python-Dev] new buffer in python2.7
Stefan Behnel
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
> request.
>[...]
> 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.
Stefan
More information about the Python-Dev
mailing list