News for hackers. Stuff that matters.
Re:Why is my Rust build so slow? by dataflow on Friday December 31, 2021 @04:15AM (#29746267)
Avoid over-templating, don't inline expensive functions, put expensive #includes inside .cpp files instead of headers, use internal linkage whenever possible, etc. Doable in theory, painful to get there in practice if you've already dug yourself into a hole, and you can't get out of said hole without convincing the rest of your team/organization to change their coding practices accordingly.

There are no comments on this comment yet.