Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just to clarify - polymorphization is not automatic dyn dyspatch or anything related. I'm talking about compile time optimization that avoids duplicating generic functions.


Yes, I bring up dyn because the most straightforward way to implement polymorphization would be to conceptually replace usages of T: Trait with dyn Trait.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: