I’m writing a complex python code and I need to increse speed of calculation. I added multiprocessing tools with pools, I use comprehension way to declare big list etc.
Otherwise, I call many times external python codes from other python codes. I call them using classic way os.system(“python nameOfCode.py arg1 arg2 arg3 …”).
I don’t know if this last approach reduce speed and is better pre-compile codes or not.
I would ask you suggestions to increase velocity and usefull tutorials for that. Maybe also general approaches and then I will study them. I read online many opinions but I don’t understand the better way.