Hello Petr,
After your message, I finally decided to have a look in my script and to
modify the functions.
There is no more loop on rows and functions calling functions. I now use new
functions applied on complete columns and I also use your 'matrix' tip (Very
useful).
Result:
with the old script : 340000 rows in around 10 hours (then I stopped)
with the new functions : 2500000 rows in 50 seconds
Again thank you for your comment !!!!
Ptit Bleu.