Does the compiler do extra optimization for types declaring
RawRepresentable that it otherwise doesn't do for types that conform but don't declare?
I'm currently making a binding library and essentially every type conforms to
RawRepresentable but I wanted
init(_ rawValue: RawValue) not
init(rawValue: RawValue) for most of them, that way the code appears more like a cast.
I'd like as much of the binding to be optimized away as possible, so I don't mind slightly uglier code if it makes an actual difference. Anyone know?