Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Document @cython.compile #2770
I was wondering whethter there is a way, or it is possible to add a way, to do something like:
from cython import cythonize, other, cython, magics @cythonize # Decorator of interest @other @cython @magics def slow_function_at_work(): # omg so slow # slow function is fast at this point
I dug a bit inside some cython files, and saw there's a
Is it perhaps possible to -
So that one can @cythonize his functions in pure mode?
I think this is the epitome of pure mode - the ability to decorate and move along, and let cython hook in the sped up code.
It looks like
This package also seems to use a similar technique, but has more meat to it -