Re:Xcode 14 unintentionally increases app size
by rockbruno on Friday November 11, 2022 @03:12AM
(#33558352)
Swift is awful for app size. Structs carry an absurd amount of overhead, some of which is just plain questionable[0]. At one point even Apple's official docs were urging you to not use structs in Swift, though that has since been removed (probably because of SwiftUI being struct-heavy)
[0] - https://forums.swift.org/t/reducing-value-witness-size-in-st...