<div dir="ltr">Hi,<div><br></div><div>I have a program that is reading near 600000 elements from a file.</div><div>For each element it performs 200 times a particular mathematical operation (a numerical interpolation of a function).</div>
<div>Now these process takes near 8 hours.</div><div><br></div><div>Creating a C function and calling it from the code could improve the speed?</div><div>It could be useful that it contains both the mathematical operation and the for loop or only the mathematical operation?</div>
<div><br></div><div>If it is a reasonable solution to try decreasing the computational time how can I implement this C function?</div><div><br></div><div>Thanks</div><div><br></div><div>Gabriele   <br></div></div>