Thank you again @ptrblck , I checked the link (also the function documentation) but I did not understand how it works, could you share me a link of why it should work?
I added it at the beginning of the main code in python3, but I did not see an speed improvement.