diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-15 12:11:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 12:11:43 (GMT) |
commit | 2e3f5701858d1fc04caedefdd9a8ea43810270d2 (patch) | |
tree | e1c92b967a8f0935f65139338f4b7c170609c46e /Misc | |
parent | a5552f023e1d8cbafee1e51d316cc581deb2295f (diff) | |
download | cpython-2e3f5701858d1fc04caedefdd9a8ea43810270d2.zip cpython-2e3f5701858d1fc04caedefdd9a8ea43810270d2.tar.gz cpython-2e3f5701858d1fc04caedefdd9a8ea43810270d2.tar.bz2 |
bpo-30416: Protect the optimizer during constant folding. (#4860)
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst new file mode 100644 index 0000000..532700e --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst @@ -0,0 +1,4 @@ +The optimizer is now protected from spending much time doing complex +calculations and consuming much memory for creating large constants in +constant folding. Increased limits for constants that can be produced in +constant folding. |