Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] bpo-45490: Convert static inline to macros #29728

Closed
wants to merge 1 commit into from
Closed

[WIP] bpo-45490: Convert static inline to macros #29728

wants to merge 1 commit into from

Commits on Nov 23, 2021

  1. [WIP] bpo-45490: Convert static inline to macros

    Convert static inline functions to macros to run a benchmark:
    
    * PyObject_TypeCheck()
    * PyType_Check()
    * PyType_CheckExact()
    * PyType_HasFeature()
    * PyVectorcall_NARGS()
    * Py_DECREF()
    * Py_INCREF()
    * Py_IS_TYPE()
    * Py_NewRef()
    * Py_REFCNT()
    * Py_SIZE()
    * Py_TYPE()
    * Py_XDECREF()
    * Py_XINCREF()
    
    Note: Py_XNewRef() remains a static inline function.
    vstinner committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    5517baa View commit details
    Browse the repository at this point in the history