-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document @cython.compile #2770
Comments
Looks like |
Sweet, thanks! It looks like This package also seems to use a similar technique, but has more meat to it - Edit: |
I would hope so, but since it's undocumented, you'd better try it out. If it does not, then that's probably just an easy to fix bug. |
Sorry if it's silly, but how can I see in runtime what @compile generated? |
Hi,
I was wondering whethter there is a way, or it is possible to add a way, to do something like:
I dug a bit inside some cython files, and saw there's a
pyx_to_dll
function, and acython_inline
function.Is it perhaps possible to -
pyx_to_dll
readStringIO
objects (probably not since I saw that path is formed into a command string)cython_inline(inspect.getsource(slow_function))
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.
Thanks,
Eli
The text was updated successfully, but these errors were encountered: