John Nagle wrote:
"let" allows the usual optimizations - constant folding, hoisting out of loops, compile time arithmetic, unboxing, etc.
Only if the compiler knows the value of the constant, which it won't if it's defined in a different module. -- Greg -- http://mail.python.org/mailman/listinfo/python-list