So I am thinking about implementing all the data structures that I need as extension types in Pyrex. Is this going to be equivalent to writing my structures in pure C and using swig to create a pyhon module? Is one better than the other? Are there any overheads?