Yes, but I want to make a C extension to run faster a function from scipy.interpolate (interp1d)
It woulldn't change anything? thanks Gabriele 2014-04-11 14:47 GMT-04:00 Alan Gauld <alan.ga...@btinternet.com>: > 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 >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor