[Cython] ref-count overhead of function parameters

Stefan Behnel stefan_ml at behnel.de
Thu Mar 27 14:31:01 CET 2008


Hi,

Robert Bradshaw wrote:
>>> There currently is a ref-count overhead. When that is removed, I  
>>> wouldn't mind
>>> seeing inline functions as a macro replacement in many cases. But  
>>> I'm pretty
>>> sure even then I see a couple of cases where I'd use macros.
> 
> Removing the ref-count overhead should be easy to do. Perhaps I'll do  
> it this afternoon.

In what cases would that be removed? When there is no assignment to a
parameter inside the function body?

Stefan



More information about the Cython-dev mailing list