There are some low hanging fruits here and there to optimize, e.g. setting visibility to private. Here's some further reading: https://github.com/swiftlang/swift/blob/main/docs/OptimizationTips.rst