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... _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor