mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-21 06:19:31 +03:00
![]() GNU extension __attribute__((const)) helps the compiler to know semantic meaning of a function call, so that it allows higher optimization than to normal functions. For example, Common Sub-expression Elimination (CSE) is used to avoid duplicating the same code inside a function, and function "_mi_os_page_size" can benefit from CSE optimization once it is declared as a constant function. Reference: https://lwn.net/Articles/285332/ |
||
---|---|---|
.. | ||
mimalloc-atomic.h | ||
mimalloc-internal.h | ||
mimalloc-new-delete.h | ||
mimalloc-override.h | ||
mimalloc-types.h | ||
mimalloc.h |