I just profiled rustc when building a package (rust-cpython
) using valgrind --tool=callgrind
and found that while rustc
spends 12% of its time in je_mallocx
and je_sdalloc
each, with about 6 million calls apiece. So I think there might be something to squeeze out of here.
2 Likes