swift-nonempty icon indicating copy to clipboard operation
swift-nonempty copied to clipboard

Replace forced unwrap operator with unsafelyUnwrapped

Open myihsan opened this issue 11 months ago • 0 comments

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?

myihsan avatar Mar 24 '24 07:03 myihsan