bd3cf4c05f
It's quite possible that small programs don't use all of jemalloc, and building with -ffunction-sections and -fdata-sections allows the linker (via --gc-sections) to strip out all unused code at link time. This decreases the size of a "hello world" executable for me from 716K to 482K with no measurable impact on link time. After this patch jemalloc is still the largest portion of our hello world executables, but this helps cut down on the size at least somewhat! |
||
---|---|---|
.. | ||
cfg | ||
clean.mk | ||
crates.mk | ||
ctags.mk | ||
debuggers.mk | ||
dist.mk | ||
docs.mk | ||
grammar.mk | ||
host.mk | ||
install.mk | ||
llvm.mk | ||
main.mk | ||
perf.mk | ||
platform.mk | ||
prepare.mk | ||
reconfig.mk | ||
rt.mk | ||
rustllvm.mk | ||
snap.mk | ||
stage0.mk | ||
target.mk | ||
tests.mk | ||
util.mk |