feat: improve memory allocation by using mimalloc
This commit is contained in:
parent
efaddc4f99
commit
a43d94dede
2
Makefile
2
Makefile
@ -107,7 +107,7 @@ ${check_targets}: check_%: ${build_dir}/%
|
||||
$^ ${check_argv}
|
||||
|
||||
${bins_target}: ${build_dir}/%: ${objs} ${build_dir}/${tst_dir}/%.o
|
||||
${CC} -o $@ $^ ${CFLAGS} ${LDFLAGS}
|
||||
${CC} -o $@ $^ ${CFLAGS} ./lib/libmimalloc ${LDFLAGS}
|
||||
|
||||
${build_dir}/libthread.so: ${objs}
|
||||
${CC} -o $@ -shared $^ ${CFLAGS} ${LDFLAGS}
|
||||
|
BIN
lib/libmimalloc
Normal file
BIN
lib/libmimalloc
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user