◐ Shell
clean mode source ↗

[3.6] bpo-30416: Protect the optimizer during constant folding. by serhiy-storchaka · Pull Request #4865 · python/cpython

It no longer spends much time doing complex calculations and no
longer consumes much memory for creating large constants that will
be dropped later.

This fixes also bpo-21074.

@serhiy-storchaka serhiy-storchaka changed the title bpo-30416: Protect the optimizer during constant folding. [3.6] bpo-30416: Protect the optimizer during constant folding.

Dec 14, 2017

@serhiy-storchaka

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request

Dec 15, 2017
…pythonGH-4865)

It no longer spends much time doing complex calculations and no
longer consumes much memory for creating large constants that will
be dropped later.

This fixes also bpo-21074..
(cherry picked from commit b580f4f)