zeromq/pyzmq — Issue #180: split socket.pyx into pyx/py
Author: minrk
Created: 2012-02-19 02:15:46+00:00
State: open

Only the basic methods of the socket need to be Cython:

* init
* close
* send
* recv
* getsockopt
* setsockopt

All the derivative and sugar methods (multipart, json, sockopts as attrs, etc.) do not need to be Cython, and do not benefit from being compiled. I would like to split the Socket file into two: a minimal base class in Cython, and the extended methods on a subclass in Python.

This would reduce compile time, and significantly reduce the need to recompile when working on new features, as the core methods haven't been touched in quite some time.