TooManyCooks icon indicating copy to clipboard operation
TooManyCooks copied to clipboard

performance: add attributes [[clang::coro_await_elidable]] / [[clang::coro_await_elidable_argument]]

Open tzcnt opened this issue 9 months ago • 0 comments

[[clang::coro_await_elidable]] [[clang::coro_await_elidable_argument]]

These attributes should allow the compiler to perform HALO, hopefully leading to a good performance win.

Note that these attributes are only available in Clang 20, so detection for older versions / other compilers will need to be added.

tzcnt avatar Apr 09 '25 15:04 tzcnt