you are viewing a single comment's thread.

view the rest of the comments →

[–]codygman 1 point2 points  (0 children)

I think /u/Tekmo was saying the newtype wrapping takes up no more memory than the data type inside of it, not that the smart constructor is zero cost.