[Tutor] improving speed using and recalling C functions
alan.gauld at btinternet.com
Fri Apr 11 20:47:24 CEST 2014
On 11/04/14 09:59, Peter Otten wrote:
> Gabriele Brambilla wrote:
>> Anyway I would like to try to speed it up using C functions
> posted looks like it has great potential for speed-up by replacing the inner
> loops with numpy array operations.
And in case its not obvious much(most?) of numPy consists
of C functions. So by using NumPy you are usually using
C code not native Python.
That's what I alluded to in my first post on this thread:
there are other libraries who have trod this route before
and done the work for you.
Author of the Learn to Program web site
More information about the Tutor