Franz Busch
3c373b900c
Use the defines from traits directly
...
Package traits already pass defines with their trait name when building. Instead of adding our own conditional defines based on the traits we can use the trait provided defines directly. I observed that various tooling behaves better with the trait provided defines.
2026-05-06 07:41:02 -07:00
Karoy Lorentey
6bbed0e1e2
[ContainersPreview] Conform [Unique,Rigid]Array and [Unique,Rigid]Deque to container protocols
2026-03-17 13:13:42 -07:00
Karoy Lorentey
1c69635852
Add SPDX-License-Identifier tags
2026-03-05 19:39:24 -08:00
Karoy Lorentey
6e496a9512
[DequeModule] Review bulk insertion/append/prepend/replace operations
2026-02-27 18:02:06 -08:00
Karoy Lorentey
35e09984f5
[doc] Add missing colon after “Parameters”
2026-02-05 16:48:05 -08:00
Karoy Lorentey
653a60b8e7
replaceSubrange(_:...) → replace(removing:...)
2026-02-05 14:56:51 -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
06f2ec073d
Rigid, Unique types: Rework OutputSpan-based append/prepend/insert/replaceSubrange primitives
2026-02-04 17:29:43 -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
3a1498781a
Fix support for older compilers
2026-01-26 11:18:59 -08:00
Karoy Lorentey
76fa120c27
More RigidDeque testing
2026-01-26 11:18:57 -08:00
Karoy Lorentey
29b31e5e0d
RigidDeque: Add test coverage; fix issues
2026-01-25 16:42:41 -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
7b5221ea24
RigidDeque: Add Container conformance and allow copying from Containers
2026-01-20 10:51:17 -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
Karoy Lorentey
16aac1913c
[RigidDeque] Clean up initializers
2026-01-06 15:49:14 -08:00
Karoy Lorentey
54494e1c98
[RigidDeque] Flesh out prepend methods
2026-01-06 15:14:07 -08:00
Karoy Lorentey
722ed6ae90
[RigidDeque] Flesh out append methods
2026-01-05 18:29:31 -08:00
Nate Cook
ec89f90bd0
Expand RigidDeque test coverage
2025-12-15 10:39:46 -06:00
Nate Cook
8320ac8215
Add additional API and tests
2025-11-02 14:59:55 -06:00
Alejandro Alonso
3975774393
wip
2025-10-23 15:05:12 -07:00