[Pyrex] any ideas to speed this up?

Brian Blais bblais at bryant.edu
Thu Feb 23 14:24:26 CET 2006


John Machin wrote:
> On 23/02/2006 1:20 PM, Brian Blais wrote:
>>
>> 2) all of the variables in the loop are C datatypes, either ints or 
>> pointers.
> 
> No you haven't.
> Try cdef int it, i

bingo!  I figured I was doing something stupid.   Thanks.  This gives me about 0.21
per step, which is far far closer to the mex file.


			bb

-- 
-----------------

             bblais at bryant.edu
             http://web.bryant.edu/~bblais




More information about the Pyrex mailing list