Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
Is it possible to implement a custom memory allocator in C++ that performs better than the default allocator provided by the standard library, in terms of both speed and memory efficiency, and if so, how might this be done?
Q: Is it possible to implement a custom memory allocator in C++? A: Yes
Q: That performs better than the default allocator provided by the standard library, in terms of both speed and memory efficiency? A: Maybe, depends on its application
This kind of thing is very usual on Embedded Systems, specially where a RTOS is running on. The approach is to previouslly allocate the memory and later manage it, depending on pre-configured specifications. You can read more about it on FreeRTOS website.
Is it possible to implement a custom memory allocator in C++ that performs better than the default allocator provided by the standard library, in terms of both speed and memory efficiency, and if so, how might this be done?
mimalloc is a compact general purpose allocator with excellent performance. - GitHub - microsoft/mimalloc: mimalloc is a compact general purpose allocator with excellent performance.
The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac. - GitHub - emeryberger/Hoard: The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficie...