Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cython

Can Cython Be Compiled With Icc?

I am trying to build cython from source with icc compiler on Ubuntu 14.04 as my python is compiled … Read more Can Cython Be Compiled With Icc?

Cython Throws An Error When Pass Function With Void * Argument To Dict

I have a function with void * parameter and I want to store it in the dict. What I do is: %%cython… Read more Cython Throws An Error When Pass Function With Void * Argument To Dict

Cython Memoryviews: Wrapping C Function With Array Parameter To Pass Numpy Array

I am trying to use Cython to wrap c function with an array parameter (quick_sort()), so I can pass … Read more Cython Memoryviews: Wrapping C Function With Array Parameter To Pass Numpy Array

Do Locally Set Cython Compiler Directives Affect One Or All Functions?

I am working on speeding up some Python/Numpy code with Cython, and am a bit unclear on the effects… Read more Do Locally Set Cython Compiler Directives Affect One Or All Functions?

Difference Between Np.int, Np.int_, Int, And Np.int_t In Cython?

I am a bit struggled with so many int data types in cython. np.int, np.int_, np.int_t, int I guess … Read more Difference Between Np.int, Np.int_, Int, And Np.int_t In Cython?

Fastest Way To Compute Distance Beetween Each Points In Python

In my project I need to compute euclidian distance beetween each points stored in an array. The ent… Read more Fastest Way To Compute Distance Beetween Each Points In Python

Does Compiled Standalone Cython Executable Still Contain All Original Source Code?

I'm experimenting with Cython and possibilities of code obfuscation (article). In that article … Read more Does Compiled Standalone Cython Executable Still Contain All Original Source Code?

Confusing Reference Ownership: How To Properly Deallocate (via Py_decref) Objects Of An Object?

I was analysing the following code, which compiles and runs correctly, but generates a memory leak.… Read more Confusing Reference Ownership: How To Properly Deallocate (via Py_decref) Objects Of An Object?