Re: [Python-Dev] General concerns about C API changes

Nov. 14, 2018
2:48 p.m.
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. Jeroen.
2298
Age (days ago)
2298
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeroen Demeyer