Any compiler worth its salt be inlining those functions (provided lto is enabled) because inlining that type of tiny function is a win. Additionally, the linker can deduplicate identical functions (eg vec append for two identically sized types)
this is useful context, thanks. would edit my prior comment but it is no longer editable. after some more research it seems his comments on the matter were reasonable
This is a lovely personal project, but calling it “Industry-grade” is downright silly… it’s roughly the exchange most people write at a trading hackathon, extended a bit