debl2nononospmmmy at bellatlantic.net
Sat Sep 21 19:36:34 EDT 2002
This depends on your hardware, OS and probably Python version. Further
you need to specify the data type. Integer, floating point or infinite
precision integers. It is quite easy to run benchmarks, which you
should do yourself.
> What's faster in python? Divide or multiply?
> (a= b*c is faster than a=b/c)?
> Math expressions with constants are calcolated during .pyc creation or real
> (a=b*5 is faster than a=b*5*2/2 )?
More information about the Python-list