GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — bpo-45116: Add the Py_ALWAYS_INLINE macro by vstinner · Pull Request #28390 · python/cpython Conversation
|
|
I decided to split my old PR #28141 in two parts:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add the Py_ALWAYS_INLINE macro to ask the compiler to always inline a static inline function. The compiler can ignore it and decides to not inline the function.
|
PR rebased to retrieve the Windows build fix. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
How about a What's New entry?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I don't want to advertise too much this macro :-D As I wrote in its documentation, misusing it can make the code slower. Also, I'm not even sure if it should be used in Python :-) Benchmarks will give us some hints ;-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add the Py_ALWAYS_INLINE macro to ask the compiler to always inline a static inline function. The compiler can ignore it and decides to not inline the function.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.