Message48957
| Author | rhettinger |
|---|---|
| Recipients | |
| Date | 2006-02-19.10:09:41 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
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.
|
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 15:44:24 | admin | link | issue1346238 messages |
| 2007-08-23 15:44:24 | admin | create | |