Karoy Lorentey
1c69635852
Add SPDX-License-Identifier tags
2026-03-05 19:39:24 -08:00
Karoy Lorentey
11a49663d0
[Benchmarks] Update benchmarking sub-package
...
- Fix issues with the main package no longer exposing internal helper functions
- Move Rust benchmarks behind an EnableRustBenchmarks trait
- Allow traits to be enabled in `Utils/run-benchmarks.sh` through the BENCHMARK_TRAITS environment variable.
2026-03-05 19:39:22 -08:00
Karoy Lorentey
d9b09ecde8
Update copyright dates
2026-03-05 19:39:20 -08:00
Karoy Lorentey
3941dab5b0
[BasicContainers] Implement removals on RigidSet and UniqueSet
...
Dictionaries are still to be done.
2026-02-20 18:19:51 -08:00
Karoy Lorentey
bf9a7033a0
[BasicContainers] Add early drafts for RigidSet/RigidDictionary
2026-02-16 17:15:59 -08:00
Karoy Lorentey
e4a874b67a
Rigid & Unique types: Add Equatable, Hashable, Custom[Debug]StringConvertible operations
...
Currently these are all conditional on copyable elements, and the types cannot conform to the actual protocols yet.
2026-02-04 23:24:08 -08:00
Karoy Lorentey
9503f8fe57
Improve consistency of precondition failure messages
...
More uniform message strings should feel better, and they should ever so slightly reduce code size.
2026-02-04 10:27:17 -08:00
Karoy Lorentey
4c9a0da7f1
Update CMake configuration
2026-01-26 12:31:36 -08:00
Karoy Lorentey
76fa120c27
More RigidDeque testing
2026-01-26 11:18:57 -08:00
Karoy Lorentey
70a36c2c47
RigidDeque: Another iterative design pass on deque operations
...
- Adopt and embrace Drain and Producer to simplify moving data in and out of deques.
- Fully generalized core range replacement primitive using higher-order functions based around InputSpan and OutputSpan
2026-01-25 16:42:40 -08:00
Karoy Lorentey
cda49ed5a8
Merge remote-tracking branch 'origin/main' into all-hands-on-deque
...
# Conflicts:
# Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift
2026-01-17 00:20:32 -08:00
Karoy Lorentey
a617f5e2b1
Don’t use @unsafe/unsafe in code that needs to work on 6.1
2026-01-16 17:32:53 -08:00
Karoy Lorentey
7f7089eae6
Update Producer and Drain, fleshing them out a bit
2026-01-16 16:06:27 -08:00
Karoy Lorentey
d1d757e425
[RigidDeque] Implement replacement operations
2026-01-08 17:25:21 -08:00
Karoy Lorentey
5943e6eb5c
[RigidDeque] Flesh out insertions
2026-01-07 17:46:25 -08:00
Alejandro Alonso
3975774393
wip
2025-10-23 15:05:12 -07:00
Karoy Lorentey
bb8d566833
Adopt package access modifier and get rid of gybbing
2025-09-29 11:56:14 -07:00
Karoy Lorentey
1dc2b7717f
Revert "Don’t allow backdeployment of any Span types below the most recent Darwin OS releases"
...
This reverts commit 485e69bfb1 .
# Conflicts:
# CMakeLists.txt
2025-09-27 12:15:30 -07:00
Karoy Lorentey
485e69bfb1
Don’t allow backdeployment of any Span types below the most recent Darwin OS releases
...
References to Span types trigger an issue where SwiftPM isn’t able to run command line executable targets or tests on older OSes.
Set the availability of everything that needs span types to the most recent Apple OS releases.
Hopefully we’ll be able to revert this once we figure out a better workaround.
2025-09-26 22:38:18 -07:00
Karoy Lorentey
174efda735
RigidArray/UniqueArray: Final API cleanup pass
...
- Set availability to match Span availability
- Split implementation into multiple source files
- Add OutputSpan-based primitives that can be the bases of all append/insertion/replaceSubrange variants
- Add the ability to consume a subrange of items using an InputSpan
- Add bulk copying operations generic over the new Container protocol
2025-09-26 18:39:56 -07:00
Karoy Lorentey
f679ec91b5
[ArrayModule] Add new module with RigidArray and DynamicArray
2025-08-17 13:33:39 -07:00
Karoy Lorentey
b6050e3643
Add _isIdentical, _extracting(first:)/_extracting(last:) as UnsafeBufferPointer extensions
2025-08-17 13:33:29 -07:00
Karoy Lorentey
a0417c18ea
Add unsafe primitives for overriding lifetime dependencies
2025-08-17 13:33:28 -07:00
Tony Parker
c883a1729a
Add support for embedded Swift mode
...
Remove calls to `debugPrint` (which does not exist), and ifdef out support for `Codable` and `Reflection`.
2025-07-17 16:36:56 -07:00
Karoy Lorentey
5e3a056312
Prerelease updates
2025-05-16 16:55:09 -07:00
Karoy Lorentey
a09d7cdf45
Drop support for the Swift 5.9.* toolchains
2025-05-16 13:05:36 -07:00
Karoy Lorentey
0bd8dec08b
Reimplement _specialize(_:for:) for the 5.9 stdlib
2025-05-14 16:40:25 -07:00
Karoy Lorentey
e4cd17cc53
Remove support code for outdated toolchains
2024-09-25 14:14:48 -07:00
Karoy Lorentey
09cbf9b271
[_CollectionsUtilities] Fix visibility modifiers in single module mode
2024-09-25 14:02:36 -07:00
Karoy Lorentey
596f00fe91
[_CollectionsUtilities] Delete obsolete compatibility definitions
...
(cherry picked from commit 0d4376d5cd )
# Conflicts:
# 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-09-25 14:02:04 -07:00
Jeremy Schonfeld
3e120b48bb
[CMake] Reduce path lengths in single-module build ( #392 )
...
* Eliminate relative paths from the cmake single-module build
* Attempt to reduce length of paths in single module build
2024-06-26 08:39:11 -07:00
Jeremy Schonfeld
ee97538f5b
Add Single Module Build Mode to CMake for Foundation ( #385 )
...
* Add new single-module and foundation-toolchain-module modes to CMake build
* Fix allowable client flag syntax
2024-06-03 16:15:50 -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