High-Level SIL Optimization in the Swift Compiler

Matt Rajca discovered last year that Swift’s Array.append(element) is 6x faster than Array operator+=(collection). This is a shame, because the latter is semantically equivalent, easier to type, an… Read more

Similar

The Advanced Guide to UserDefaults in Swift

Learn how to use UserDefaults in Swift 5 with this advanced tutorial. We'll cover: when to use and what to store in UserDefaults? How user defaults are implemented internally? Build type-safe key-value storage with the help of Swift 5 property wrappers an... (more…)

Read more »