Performance, functional programming and collections in Swift
Functional programming is often done in Swift and so easy that it could easily hit performance. Iterating over large collections and performing actions like filter
or map
is common and should be used wisely.