22 Jul
2020
22 Jul
'20
1:56 p.m.
On Wed, Jul 22, 2020 at 10:53 PM Antoine Pitrou <antoine@python.org> wrote:
Le 22/07/2020 à 15:48, Inada Naoki a écrit :
On Wed, Jul 22, 2020 at 8:51 PM Antoine Pitrou <solipsis@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.
Yes, this is tooooo off topic. Please stop it. -- Inada Naoki <songofacandy@gmail.com>