Message48957
Logged In: YES
user_id=80475
This should be compared to the constant folding already
added to Py2.5 via the peepholer:
dis.dis(compile('x=2+3', '', 'exec'))
Also, make sure it doesn't go over the top consuming
memory for the likes of:
'-' * 100
(None,)*2000
Both of those should not be optimized away at compile-time.
Also, be sure not optimize away -0.0. Thet is not the
same as +0.0. The distinction is important for branch
cuts in cmath.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:44:24 | admin | link | issue1346238 messages |
2007-08-23 15:44:24 | admin | create | |
|