and also abusing the c preprocessor
now there is no mentioning python in c code (except for the boilerplate at the beginning, but the rest is nice clean c). all the bridging is being done in cython (where it belongs). and no memory leaks so there's that!
now do a lot of nets in parallel and then we'll talk