Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there any performance implications for the final binary because you’re splitting it up into thousands of crates?


Loss of inlining


Loss of automatic inlining of non-generics without LTO, to be a little pedantic.

Functions marked #[inline] can still be handled across crates.

LTO can inline across crates but, of course, at a substantial compile time cost.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: