bpo-35059 : Add /Ob1 flag when building pythoncore in debug mode by vstinner · Pull Request #10094 · python/cpython

@vstinner

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.

vstinner added a commit that referenced this pull request

Oct 26, 2018

This was referenced

Oct 26, 2018