bpo-45094: Add Py_ALWAYS_INLINE macro by vstinner · Pull Request #28141 · python/cpython
Add Py_ALWAYS_INLINE macro to ask the compiler to always inline a static inline function. Use Py_ALWAYS_INLINE on static inline functions: * Py_DECREF(), Py_XDECREF() * Py_INCREF(), Py_XINCREF() * Py_IS_TYPE() * Py_NewRef(), Py_XNewRef() * Py_REFCNT() * Py_SET_REFCNT(), Py_SET_SIZE(), Py_SET_TYPE()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters