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.

HTH
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to