Guillaume Lessard
a26fc8e7e4
complete span tests
2025-03-07 09:24:41 -08:00
Guillaume Lessard
4523e7a063
add required unsafe annotations to OutputSpan
2025-03-05 14:38:46 -08:00
Guillaume Lessard
279f795d71
complete MutableSpan tests
2025-03-04 17:00:50 -08:00
Guillaume Lessard
0b4c812e0f
add MutableRawSpan tests
2025-03-04 17:00:41 -08:00
Guillaume Lessard
81699ed60f
test tweaks
2025-02-28 12:11:56 -08:00
Guillaume Lessard
5d5384c462
update OutputSpanTests
2025-02-27 21:09:38 -08:00
Guillaume Lessard
a9fdaef1ad
update test of swapAt()
2025-02-26 16:48:54 -08:00
Guillaume Lessard
15b7b73221
update MutableSpan tests
2025-02-26 16:31:33 -08:00
Guillaume Lessard
f2aea0f8e6
separate slicing tests
2025-02-24 09:11:34 -08:00
Guillaume Lessard
e352bf057c
adjust copyright years
2025-02-24 09:11:34 -08:00
Guillaume Lessard
8cb5b628ae
Rename module to Span
2025-02-21 19:13:48 -08:00
Guillaume Lessard
1d8147baf9
Update MutableSpan and MutableRawSpan
2025-02-21 19:04:51 -08:00
Guillaume Lessard
98d345bd66
update Span to match the stdlib
2024-11-19 19:19:58 -05:00
Guillaume Lessard
5d21e3e59f
update RawSpan to match the stdlib
2024-11-19 19:04:48 -05:00
Guillaume Lessard
09290768f4
fix lifetime syntax for newer toolchains
2024-11-19 18:14:10 -05:00
Guillaume Lessard
1f955c3c1b
more minor tweaks
...
(and also remove _shrink)
2024-10-23 18:20:44 -07:00
Guillaume Lessard
8f646669f8
update span tests
2024-10-22 17:49:01 -07:00
Guillaume Lessard
7438c3d6bc
add proper indices property, remove boundsContain
2024-10-17 09:51:49 -07:00
Guillaume Lessard
7f4bedbf0d
improve OutputSpan tests
2024-10-16 23:33:37 -07:00
Guillaume Lessard
3f6522fef1
post-rebase compatibility fixes
2024-10-06 11:16:43 -07:00
Guillaume Lessard
dc63d5e048
add a safer moveUpdate
2024-10-06 10:26:27 -07:00
Guillaume Lessard
f5f02e2f6a
rename some tests
2024-10-06 10:26:27 -07:00
Guillaume Lessard
e9d7ea806a
require Span<T: BitwiseCopyable> to be aligned
2024-10-06 10:26:27 -07:00
Guillaume Lessard
ffebc71d54
OutputSpan modernization
2024-10-06 10:26:27 -07:00
Guillaume Lessard
7311e07ff9
tests for MutableSpan
2024-10-06 10:26:27 -07:00
Guillaume Lessard
cb84b912c2
Span test tweaks
2024-10-06 10:26:27 -07:00
Guillaume Lessard
82eeb9c6e9
restore span extensions to Foundation.Data
2024-10-06 10:26:27 -07:00
Guillaume Lessard
d374c35bdf
move OutputSpan-providing extensions to their own file
...
- and their tests, too
2024-10-06 10:24:55 -07:00
Guillaume Lessard
d1bc334b8c
add OutputSpan
2024-10-06 10:24:55 -07:00
Guillaume Lessard
fbabfd5d66
improve Span containment functions
2024-10-06 10:24:55 -07:00
Guillaume Lessard
c4435876d9
fix iterator test
2024-10-06 10:24:55 -07:00
Guillaume Lessard
8aebaa3ea8
improve RawSpan containment
2024-10-06 10:24:55 -07:00
Guillaume Lessard
bd528968fc
Span iterator draft
2024-10-06 10:24:55 -07:00
Guillaume Lessard
91506824d0
RawSpan review feedback
2024-10-06 10:24:55 -07:00
Guillaume Lessard
6d0848fc7f
improve standard library Span extensions
2024-10-06 10:24:55 -07:00
Guillaume Lessard
e261fe68c9
updates to Span
2024-10-06 10:24:55 -07:00
Guillaume Lessard
3fda314bcd
updates to RawSpan
2024-10-06 10:24:55 -07:00
Guillaume Lessard
c290bd3d04
Copy Span prototype to its own branch
2024-10-06 10:24:54 -07:00
Karoy Lorentey
f6c1d3e348
[Tests] DynoArrayTests → DynamicArrayTests
2024-09-01 20:52:36 -07:00
Karoy Lorentey
3c66dab3b0
[Deque] Turn Deque<T> into a Shared<RigidDeque<T>>
2024-09-01 20:46:43 -07:00
Karoy Lorentey
5d51572d69
[Deque] Stop using ManagedBuffer
...
Instead, just have a regular class holding a HypoDeque. This requires two allocations per deque, but it makes representation a lot more straightforward.
I do not have a workable solution for empty singletons, though.
2024-08-06 19:17:04 -07:00
Karoy Lorentey
774be11219
[Future] Add HypoArray and DynoArray
2024-08-06 10:44:12 -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
Guillaume Lessard
fe649d9a4c
add convenience initializers for Span
2024-07-16 08:56:22 -07:00
Guillaume Lessard
c0d0230905
add convenience initializers for RawSpan
2024-07-16 08:55:15 -07:00
Guillaume Lessard
6f4d9d8560
improve internal representation of RawSpan
2024-07-14 04:31:13 -07:00
Guillaume Lessard
b7aab16cce
improve internal representation of Span
2024-07-14 04:22:33 -07:00
Guillaume Lessard
fefc900b92
changed uncheckedBounds to just unchecked
2024-07-02 14:02:58 -07:00
Alejandro Alonso
9c4d47328e
Add box and cell tests
2024-07-02 11:26:50 -07:00
Guillaume Lessard
f049c7ae66
better document unsafe operations of RawSpan
2024-06-28 18:35:37 -07:00