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 1c4a55d commit 577bba7Copy full SHA for 577bba7
Objects/obmalloc.c
@@ -1455,7 +1455,7 @@ PyObject_Free(void *ptr)
1455
}
1456
1457
1458
-/* If we're using GCC, use __builtin_expect() to reduce overhead of
+/* Use __builtin_expect() where available to reduce overhead of
1459
the valgrind checks */
1460
#if (defined(__clang__) || (defined(__GNUC__) && (__GNUC__ > 2))) && defined(__OPTIMIZE__)
1461
# define UNLIKELY(value) __builtin_expect((value), 0)
0 commit comments