summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-10-26 13:10:29 (GMT)
committerGitHub <noreply@github.com>2018-10-26 13:10:29 (GMT)
commita05bef4f5be1bcd0df63ec0eb88b64fdde593a86 (patch)
tree76c8f808b726577da068c235a6d28ecfdce323ad /Misc
parentb4435e20a92af474f117b78b98ddc6f515363af5 (diff)
downloadcpython-a05bef4f5be1bcd0df63ec0eb88b64fdde593a86.zip
cpython-a05bef4f5be1bcd0df63ec0eb88b64fdde593a86.tar.gz
cpython-a05bef4f5be1bcd0df63ec0eb88b64fdde593a86.tar.bz2
bpo-35059, PCbuild: Expand inline funcs in Debug (GH-10094)
Visual Studio solution: Set InlineFunctionExpansion to OnlyExplicitInline ("/Ob1" option) on all projects (in pyproject.props) in Debug mode on Win32 and x64 platforms to expand functions marked as inline. This change should make Python compiled in Debug mode a little bit faster on Windows. On Unix, GCC uses -Og optimization level for ./configure --with-pydebug.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2018-10-26-14-49-19.bpo-35059.PKsBxP.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2018-10-26-14-49-19.bpo-35059.PKsBxP.rst b/Misc/NEWS.d/next/Build/2018-10-26-14-49-19.bpo-35059.PKsBxP.rst
new file mode 100644
index 0000000..2621616
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2018-10-26-14-49-19.bpo-35059.PKsBxP.rst
@@ -0,0 +1,4 @@
+PCbuild: Set InlineFunctionExpansion to OnlyExplicitInline ("/Ob1" option)
+in pyproject.props in Debug mode to expand functions marked as inline. This
+change should make Python compiled in Debug mode a little bit faster on
+Windows.