4 ms·
There are, look no further than jemalloc API surface itself: https://jemalloc.net/jemalloc.3.html https://jemalloc.net/jemalloc.3.html One thing to call out:
by liuliu 7mo ago
There are, look no further than jemalloc API surface itself:
https://jemalloc.net/jemalloc.3.html https://jemalloc.net/jemalloc.3.html
One thing to call out: sdallocx integrates well with C++'s sized delete semantics: https://isocpp.org/files/papers/n3778.html https://isocpp.org/files/papers/n3778.html
- hedora 7mo agoYou can also play tricks with inlining and constant propagation in C (especially on the malloc path, where the ground-truth allocation size is usually statically known).