Stefan Behnel wrote:
> Magnus Lie Hetland wrote:
>> I'd like to profile the code, to see where it goes
>> through Cython/the Python C API (or even Python code), so I can
>> eliminate those calls.
> 
> Have you looked at Cython's annotation (-a) feature? It will generate an
> HTML page of your source code that highlights Python operations.

Also, if you declare functions as "nogil" then Python operations will be 
disallowed.

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to