[Tutor] improving speed using and recalling C functions
__peter__ at web.de
Fri Apr 11 10:59:18 CEST 2014
Gabriele Brambilla wrote:
> Anyway I would like to try to speed it up using C functions (and maybe
> comparing the resuts of the two profile in the end)
I can't help you on your chosen path, but let me emphasise that the code you
posted looks like it has great potential for speed-up by replacing the inner
loops with numpy array operations.
If you post a small dataset somewhere and a version of the code that can run
standalone (no undefined variables or libraries, no commandline arguments) I
might even tinker with it myself to demonstrate this potential...
More information about the Tutor