Math optimization

Zed k at kk.k
Sat Sep 21 17:53:06 EDT 2002


Hi!
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
time?
(a=b*5   is faster than    a=b*5*2/2 )?

Thanks





More information about the Python-list mailing list