swift
fb036e90
- stdlib: more efficient pointer overflow checks in the `UnsafePointer.pointer(to:)` functions
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Hide Minimap (CTRL+M)
Commit
1 year ago
stdlib: more efficient pointer overflow checks in the `UnsafePointer.pointer(to:)` functions Saves the optional nil check for unwrapping the pointer and one condition
References
#73645 - Improve debug performance of `UnsafePointer.pointer(to:)`
Author
eeckstein
Committer
eeckstein
Parents
d9fc62e5
Files
1
stdlib/public/core
UnsafePointer.swift
Loading