Hi,

I have a program that is reading near 600000 elements from a file.
For each element it performs 200 times a particular mathematical operation
(a numerical interpolation of a function).
Now these process takes near 8 hours.

Creating a C function and calling it from the code could improve the speed?
It could be useful that it contains both the mathematical operation and the
for loop or only the mathematical operation?

If it is a reasonable solution to try decreasing the computational time how
can I implement this C function?

Thanks

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

Reply via email to