Karoy Lorentey
04bf0cff38
[_CollectionsUtilities] Unsafe[Mutable]BufferPointer: Add some initializeAll overloads
2024-08-07 19:13:12 -07:00
Karoy Lorentey
816fc78827
[_CollectionsUtilities] Add Unsafe[Mutable]BufferPointer._extracting(unchecked:)
...
Also, use these to spare some unnecessary instructions.
2024-08-07 19:12:05 -07:00
Karoy Lorentey
6339b9859e
[_CollectionsUtilities] Add new buffer pointer operations
2024-08-06 10:44:00 -07:00
Karoy Lorentey
0529df9aee
[_CollectionsTestUtilities] Add U[M][R]BP._extracting(first:) and ._extracting(last:)
...
Also generalize some members to support ~Copyable elements
2024-08-06 10:43:53 -07:00
Karoy Lorentey
d58c5b60a5
Merge branch 'main' into future
...
# Conflicts:
# Sources/CMakeLists.txt
# Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb
# Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb
# Sources/InternalCollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb
# Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift
# Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift
# Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift
# Sources/InternalCollectionsUtilities/Specialize.swift.gyb
# Sources/InternalCollectionsUtilities/autogenerated/Specialize.swift
2024-08-05 20:31:30 -07:00
Karoy Lorentey
35d5746117
Rename _CollectionsUtilities to InternalCollectionsUtilities
...
We are forced to do this due to an Xcode issue (#364 ) with underscored module names.
This module remains unstable, despite the removal of the underscore. Directly importing it from outside the package remains unsupported. This module and/or its entire contents may go away or change in incompatible ways in any future swift-collections release.
2024-05-29 14:00:13 -07:00