Read The Composable Architecture: How Architectural Design Decisions Influence Performance
Read Where to place custom module.modulemap
for third party C library without touching their source code.
Read The Composable Architecture: How Architectural Design Decisions Influence Performance.
Watched Demystify SwiftUI.
Accidentally came across of very interesting and performant (if one could believe comment on Stack Overflow) implementation of method returning unique array elements Array+Uniqued.swift:
// From: https://stackoverflow.com/a/46354989
public extension Array where Element: Hashable {
func uniqued() -> [Element] {
var seen = Set<Element>()
return filter { seen.insert($0).inserted }
}
}