[Cython] module cleanup

Michael Abshoff michael.abshoff at googlemail.com
Tue Feb 24 23:41:20 CET 2009


Robert Bradshaw wrote:
> On Feb 24, 2009, at 10:26 AM, Stefan Behnel wrote:
> 

<SNIP>

>> I so like the idea of implementing these things under the hood,  
>> instead of
>> requiring users to rewrite their code.
> 
> I am solidly against adding another slot to cdef classes that  
> reference their type/module, especially as it requires the class to  
> be GC'd and creates cyclic references (which can have significant  
> performance penalties in Python).
> 
> Remember, this only happens right before the whole heap is  
> deallocated, so the main use cases are to reduce noise during  
> valgrinding and similar tools.

+1

> - Robert

Cheers,

Michael

> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
> 



More information about the Cython-dev mailing list