[Python-Dev] speeding up PyObject_GetItem

Antoine Pitrou solipsis at pitrou.net
Tue Mar 24 19:13:14 CET 2009

Mark Dickinson <dickinsm <at> gmail.com> writes:
> > Making no other changes from the trunk, removing the PyLong_Check and NULL
> > check from PyLong_AsSsize_t shaves off 4 nanoseconds (or around 4% since the
> > trunk is around 100 nanoseconds).
> Thanks.  I'd call that a noticeable difference.

4% on a micro-micro-benchmark is hardly compelling...



More information about the Python-Dev mailing list