On Wed, Jul 4, 2012 at 8:27 AM, Stefan Behnel <stefan...@behnel.de> wrote:

> Amaury Forgeot d'Arc, 03.07.2012 18:26:
> > No optimization of any kind have been done in cpyext (it's difficult
> enough
> > to get it right...)
> > A freelist would be a nice thing, but there would still be the cost of
> > attaching the PyObject to the pypy w_object.
> >
> > Maybe we should use a weak dictionary to cache the PyObject structure.
> > This already exists for objects defined and created from C...
>
> Is there a PyPy Wiki somewhere where we could collect this kind of ideas?
>
> There's also stuff like reusing the PyObject on things like
> PyNumber_InPlaceAdd() if the refcount is 1, for example.
>
> Stefan
>
>
Feel free to use the wiki on bitbucket.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to