On 23 February 2010 12:08, Stefan Behnel <[email protected]> wrote: > > ... and I used the micro benchmark that Robert committed to check if there > is any difference for the d[key] implementation. I couldn't see any, so I > simplified the implementation to use PyObject_GetItem() in Py2.
+1 > I would > even encourage to revert to PyObject_GetItem() completely, also in Py3, > given that there seems to be no speedup at all. > -0 . As long as Python C-API provides a public call, I would say it is safe to use it. -- Lisandro Dalcin --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
