Is there performance/compiler benefits when using tuple vs struct whenever possible?
For example in this case where
- you don't need protocol conformance,
- you don't need functions,
- all variables are readonly.
.
typealias SomeModel = (
name: String,
id: String
)
vs
struct SomeModel {
let name: String
let id: String
}