I am trying to optimize my Python code. Between:
y = x*x
or
y = x**2
if I need one trillion iterations in a speed-critical program, which one should I choose?
I am trying to optimize my Python code. Between:
y = x*x
or
y = x**2
if I need one trillion iterations in a speed-critical program, which one should I choose?