mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-13 12:33:27 +02:00
Jemalloc is better suited for the memory usage pattern of Fulcrum, which is allocating/freeing lots of random sized buffers from multiple threads, resulting in lots of fragmentation. Jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support.
3 lines
65 B
Prolog
3 lines
65 B
Prolog
SOURCES = main.cpp
|
|
LIBS += -ljemalloc
|
|
DEFINES += JEMALLOC_MANGLE
|