Definitions
Sorry, no definitions found. Check out and contribute to the discussion of this word!
Etymologies
Sorry, no etymologies found.
Support

Help support Wordnik (and make this page ad-free) by adopting the word cython.
Examples
-
Probably my next shot at improving its performance will be using scipy. weave and migrate the core of the algorithm to C. Simpler optimizations schemes such as cython (my quick port), runs twice as slow as my python code.
Planet Python 2009
-
Maybe there's some way to make coverage. py get this information and report which functions in the cython files are covered.
Planet Python 2010
-
If I declared fib to be of type "double" in the cython code, it was slightly slower than the corresponding C code.
Planet Python 2010
-
I know, I declared fib () to be of type "double" in the C code (like what was done in the original post) and "int" in the cython code; however, if I declare it to be of type "int" in the C code, I get -0 as the answer instead of 433494437.
Planet Python 2010
-
I've also added some information to the opening screen to indicate whether you're using the accelerated euclid/curve modules (ie. cython) and also whether your system supports anti-aliasing (ie. looks pretty at all).
PyWeek Diary Entries 2010
-
Do you have any idea about it or maybe point me in the right direction so that i may add hooks to coverage. py to get it to report cython files 'coverage also.
Planet Python 2010
-
Maybe one day I'll write a full cython translation of the whole module ... but for most uses it's plenty fast enough as plain Python.
PyWeek Diary Entries 2010
-
I know coverage. py cant help with the c files, but cython actually generates code to hook to python profilers (cProfile) so that cProfile can report cython function calls in its report.
Planet Python 2010
-
After a lot of searching i could not find a way to get coverage of cython files.
Planet Python 2010
-
I've also added some information to the opening screen to indicate whether you're using the accelerated euclid/curve modules (ie. cython) and also whether your system supports anti-aliasing (ie. looks pretty at all).
PyWeek Diary Entries 2010
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.