<a href="http://docs.python.org/py3k/whatsnew/3.2.html#optimizations">http://docs.python.org/py3k/whatsnew/3.2.html#optimizations</a><div><br></div><div>    &quot;String to integer conversions now work two “digits” at a time, reducing the
number of division and modulo operations.&quot;</div><div><br></div><div>String to integer uses multiplication.   Integer to string uses division and modulo.</div><div><br></div><div>I&#39;m not sure what you meant, but since division is more costly than multiplication, I suspect you meant</div>
<div><div>    &quot;Integer to string conversions now work two “digits” at a time, reducing the number of division and modulo operations.&quot;</div><div>(doing modulo 100 instead of modulo 10)</div><div>I could be wrong since the fractional part of floating point numbers would use division (but not modulo) for string to integer.</div>
</div><div><br>-- <br>Jay Dresser, <a href="mailto:jay@jaydresser.us">jay@jaydresser.us</a><br><br>
</div>