Nick Coghlan added the comment: I'm marking this as a duplicate of issue 11549 (which is about building out an AST optimiser), mostly because I don't think this kind of parameter tweaking makes sense with the current peephole optimiser.
With a more sophisticated Python implemented optimiser earlier in the pipeline, it becomes more reasonable to make smarter decisions about space/speed trade-offs when dealing with sequence repetition, and even just really large integer values. ---------- nosy: +ncoghlan resolution: -> duplicate status: open -> closed superseder: -> Build-out an AST optimizer, moving some functionality out of the peephole optimizer _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21074> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com