Avatar
Kishikawa Katsumi 11/16/2021 12:46 PM
With Xcode 13, a new experimental build setting called "Optimize Object Lifetimes" is available for the Swift compiler. This enables powerful lifetime shortening ARC optimizations. With this build setting turned on, you may see objects being deallocated immediately after last use much more consistently, bringing observed object lifetimes closer to their guaranteed minimum.