On Fri, Oct 17, 2008 at 4:06 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > Ah, now it looks much better. So why not to combine your code with > Dag's code to make vectorize really fast? :) Then there should be > basically now overhead if you pass it long numpy arrays.
Just because I wrote it in a hurry in order to make my point ;-). > Thanks for the tips and especially about pyximport! I didn't know > about it, it's just awesome. I hated fiddling with makefiles all the > time I did some cython development. Together with pure python mode, > this will be just awesome. I am very excited about all of these tools, > they make life so much easier. > Wow, this brings a lot of new possibilities, like trying to compile > the module first and if it fails, just import it as a python one > (assuming pure python syntax) and in any case you get the job done. I'm not sure if this is currently supported in pyximport, just check the docs. Anyway, this should be workable. -- 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
