swift-nonempty
swift-nonempty copied to clipboard
Replace forced unwrap operator with unsafelyUnwrapped
https://developer.apple.com/documentation/swift/optional/unsafelyunwrapped
According to the document
This property trades safety for performance.
But it's safe by design.
So it would be better to use it for performance.
Should we run some tests to compare performance with the forced unwrap operator?