Comment Comment by Ygg2 It's a tradeoff. Do you want your code to run as if it was written by hand (i.e. duplicated by hand)? Then monomorphization is best.For Rust, it makes a lot of sense to pay for some compile speed penalty to not have any performance penalty. parent Ygg2 6 years ago
For Rust, it makes a lot of sense to pay for some compile speed penalty to not have any performance penalty.