[Cython] better handling of numeric types
Lisandro Dalcin
dalcinl at gmail.com
Fri Feb 27 14:13:46 CET 2009
On Fri, Feb 27, 2009 at 10:15 AM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
>
> On Feb 27, 2009, at 3:59 AM, Lisandro Dalcin wrote:
>
>> Next we can discuss how to optimize this....
>
> As long as we don't slow down the (very common) Python int -> int/
> long code, I'm OK with deferring optimization.
>
However, do you realize that for Py3 these optimizations are a bit
pointless? Moreover, if you look at core CPython 2.X sources, you will
find many places were were optimizations could be made, but they are
not there...
Anyway, I'll try to do my best...
--
Lisandro Dalcín
---------------
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
More information about the Cython-dev
mailing list