Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
heavenlyblue
· 6y ago · 0 comments
You should be able to prove that all places that call this function with a fixed list of fixed types are monomorphisable though.
Comments
[–]
zenhack
6y ago
It 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.