Could we implement some kind of small struct optimization?

and @carbotaniuman: see the relevant IRLO thread.

Anyway, whether or not transmute is being deprecated is not the most important argument against it. The important argument is that it feels unwarranted to generously sprinkle something particularly unsafe all over the implementations of one of the most widely-used traits.

1 Like