Le 22/07/2020 à 15:48, Inada Naoki a écrit : > On Wed, Jul 22, 2020 at 8:51 PM Antoine Pitrou <solip...@pitrou.net> wrote: >> >>> >>> I don't think all attempts are failed. Note that current CPython includes >>> some optimization already. >> >> The set of compile-time optimizations has almost not changed since at >> least 15 years ago. >> > > Constant folding is rewritten and unused constants are removed from co_consts. > That's one of what Victor did his project.
Constant folding is not a new optimization, so this does not contradict what I said. Also, constant folding is not precluded by Mark's proposal, AFAIK. Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/LCHU3UC4Q4MKLEMSNSC5Z27E4JNYCMDS/ Code of Conduct: http://python.org/psf/codeofconduct/