We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da21f7b commit b74396cCopy full SHA for b74396c
Include/pyport.h
@@ -180,9 +180,9 @@ typedef int Py_ssize_clean_t;
180
*/
181
182
#if defined(_MSC_VER)
183
-# if defined(PY_LOCAL_AGGRESSIVE)
184
- /* enable more aggressive optimization for visual studio */
185
-# pragma optimize("agtw", on)
+# if defined(PY_LOCAL_AGGRESSIVE) && !defined(Py_DEBUG)
+ /* enable more aggressive optimization for MSVC */
+# pragma optimize("gt", on)
186
#endif
187
/* ignore warnings if the compiler decides not to inline a function */
188
# pragma warning(disable: 4710)
0 commit comments