[Python-Dev] General concerns about C API changes
On 2018-11-14 04:06, Raymond Hettinger wrote:
> With cross module function calls, I'm less confident about what is happening
If the functions are "static inline" (as opposed to plain "inline"),
those aren't really cross-module function calls. Because the functions
are "static" and defined in a header file, every module has its own copy
of the function.
If the function is not inlined in the end, this would inflate the
compiled size because you end up with multiple compilations of the same
code in the CPython library. It would not affect correct functioning in
any way though. If the function *is* inlined, then the result should be
no different from using a macro.