Closed BrettThePark closed 7 years ago
Unpacking became many times slower after the Swift 3.0 update. Using reduce to unpack a very large array slows performance. Switching to a for loop increases performance by ~10x.
For Example, a 40k element double array goes from 0.8s to 0.08s
Unpacking became many times slower after the Swift 3.0 update. Using reduce to unpack a very large array slows performance. Switching to a for loop increases performance by ~10x.
For Example, a 40k element double array goes from 0.8s to 0.08s