STINNER Victor added the comment: FYI fatoptimizer has a more efficient algorithm to merge constants: http://fatoptimizer.readthedocs.org/en/latest/optimizations.html#comparison-with-the-peephole-optimizer
It looks like it interns strings which are part of tuples. To be honest, I don't understand how it works, but it works :-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26148> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com