[Cython] [cython-users] Re: Cython Typed Memoryviews versus Cython+Numpy Speed ups

Robert Bradshaw robertwb at gmail.com
Fri May 17 07:03:54 CEST 2013


On Fri, Apr 19, 2013 at 2:43 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Robert Bradshaw, 17.04.2013 06:02:
>> On Tue, Apr 16, 2013 at 6:46 PM, pythonOmetrist
>>> Attached HTML seems mostly white, and not clear where to go from here. Nogil
>>> seems to be one option.
>>
>> Just a brief glance at the code, you have a lot of n_k_w[x][y] which
>> is vastly more expensive than n_k_w[x, y].
>
> Is that always equivalent? If so, we might want to transform it internally.

I think so, but I'm not sure. If so, +1 to making this a transformation.


More information about the cython-devel mailing list