Platform for the optimization of a computer program, comprising:
- means for determining within said computer program of a call of a function having at least one input parameter, said call corresponding to a first criterion according to which said at least one input parameter is inside an interval substantially smaller than the range of possible values for said input parameter, and to a second criterion corresponding to a desired accuracy for said call;
- a computer program for the automatic generation of an executable code for implementing said function, minimizing execution time for said at least one input parameter being within said interval and compliant with said desired accuracy, and the replacement of the existing code implementing said function by the executable code generated at said second step.