Do I need to worry about binary size due to monomorphism in @rustlang? Will I accidentally blow up the size of the binary by using generics?
-
-
Yes, that I understand, but will the compiler do anything special to optimize the binary size in cases with large generic functions?
-
Also with trait objects it's important to note that it uses dynamic dispatch. Trading compile time cost (binary size) for a runtime cost
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.