Even more cython defs, not so much faster