mimallocv3.6.1
- Updated
Compact general purpose allocator with excellent performance
- Project website: https://github.com/microsoft/mimalloc
#Usage
mimalloc provides CMake targets:
find_package(mimalloc CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mimalloc-static>,mimalloc-static,mimalloc>)On Windows with dynamic linkage, call a mimalloc API function (e.g.
mi_version()) to ensure the allocator DLL (mimalloc.dll, or
mimalloc-secure.dll with the secure feature; -debug variants in Debug)
is loaded. Keep the matching mimalloc-redirect*.dll alongside it.
See https://github.com/microsoft/mimalloc/blob/dev3/bin/readme.md
#Features
No default features.
#override
Override the standard malloc interface (i.e. define entry points for 'malloc', 'free', etc)
Platforms: !windows | !static
- ✅linux
- ✅osx
- ✅windows-dynamic
- ❌
windows-static
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#secure
Use full security mitigations (like guard pages, allocation randomization, double-free mitigation, and free-list corruption detection)
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Dependencies
No dependencies.
#Host Tool For
No ports use this.
#Contributors
myd7349
Victor Romero
Phoebe
Lily
JonLiu1993
Billy O'Neal
Rémy Tassoux
wangao
chausner
Clayton Wheeler
Arsen Tufankjian
autoantwort
Jia Yue Hua
Kai Pastor
gerard-ryan-immersaview
Nick D'Ademo
jim wang
toge
miyan
Weihang Ding
Tom Conder