3 ms·
You should be able to prove that all places that call this function with a fixed list of fixed types are monomorphisable though.
by heavenlyblue 6y ago
You should be able to prove that all places that call this function with a fixed list of fixed types are monomorphisable though.
- zenhack 6y agoIt is certainly possible to still monorphize some cases, but the point is it can't work as a comprehensive strategy like it does in rust; it's an optimization that applies in some cases.