Hi Lisando

2009/5/20 Lisandro Dalcin <[email protected]>:
> You can use @staticmethod/@classmethod decorators. But IIRC this only
> work for normal 'def' methods, not for 'cdef' ones.

Thanks for replying.

Here's my problem: I have to store a large number of data objects (>
250,000).  My current plan is to have a minimal data class (to save
memory), on which I can call several classmethod operators in rapid
succession.  As is, I can simply define all those "classmethods"
outside a class structure, but I thought it would be more elegant to
have them combined under one roof.

Regards
Stéfan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to