swift
fb036e90 - stdlib: more efficient pointer overflow checks in the `UnsafePointer.pointer(to:)` functions

Comment changes are shownComment changes are hidden
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
Author
Committer
Parents
  • stdlib/public/core
    • File
      UnsafePointer.swift