Prev: Programming intro book ch1 and ch2 (Windows/Python 3) - Request For Comments
Next: Programming intro book ch1 and ch2 (Windows/Python 3) - RequestForComments
From: John Bokma on 18 Dec 2009 22:29 Steven D'Aprano <steve(a)REMOVE-THIS-cybersource.com.au> writes: > CPython 2.5 and on has a keyhole optimizer that replaces many constant ^^^^^^^ Shouldn't that be peephole? > expressions with pre-computed values. And that's called constant folding. Unless I misread your post (or have been out of touch with compiler building too long) -- John Bokma Read my blog: http://johnbokma.com/ Hire me (Perl/Python): http://castleamber.com/ |