Commit Graph
1246 Commits
Author SHA1 Message Date
Guillaume Lessard 2b9874bb33 MutableSpan<T: BitwiseCopyable> must be aligned 2024-10-06 10:26:27 -07:00
Guillaume Lessard f5f02e2f6a rename some tests 2024-10-06 10:26:27 -07:00
Guillaume Lessard 57b5388c85 remove duplicated initializers
- these have become duplicates in a world where Span must always be aligned
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 c8fc80381e remove workarounds 2024-10-06 10:26:27 -07:00
Guillaume Lessard ffebc71d54 OutputSpan modernization 2024-10-06 10:26:27 -07:00
Guillaume Lessard 28b93832bc clean up update() overloads for MutableSpan 2024-10-06 10:26:27 -07:00
Guillaume Lessard 1496875a0e annotations for mutablespan 2024-10-06 10:26:27 -07:00
Guillaume Lessard 7311e07ff9 tests for MutableSpan 2024-10-06 10:26:27 -07:00
Guillaume Lessard 5b590b95cf implement bulk-update functions for MutableSpan 2024-10-06 10:26:27 -07:00
Guillaume Lessard b432175fae add more MutableSpan initializers 2024-10-06 10:26:27 -07:00
Guillaume Lessard 5151658341 add more Span initializers 2024-10-06 10:26:27 -07:00
Guillaume Lessard 1b7168f727 more additions and fixes 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 8af1843d07 Span precondition tweaks 2024-10-06 10:26:27 -07:00
Guillaume Lessard 693ff4a389 add MutableSpan initializers where Element: BitwiseCopyable 2024-10-06 10:26:27 -07:00
Guillaume Lessard 8cb60d46d4 add mutable span 2024-10-06 10:26:27 -07:00
Guillaume Lessard feabec8695 name a generic parameter properly 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 6ae687fc31 update span to match stdlib prototype implementation 2024-10-06 10:26:27 -07:00
Guillaume Lessard 98bf179def update CMakeLists.txt 2024-10-06 10:25:43 -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 f18b91b719 fix a bounds-checking detail 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 888318c3a1 Span review feedback 2024-10-06 10:24:55 -07:00
Guillaume Lessard 91506824d0 RawSpan review feedback 2024-10-06 10:24:55 -07:00
Guillaume Lessard 46df103786 add missing stdlib Span extension 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 7f13d84dd5 update RawSpan to ~match proposal 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
Guillaume Lessard 6c8dcadca4 swiftLanguageVersion is now swiftLanguageMode 2024-10-02 08:56:09 -07:00
Karoy Lorentey 498b317595 Merge pull request #415 from lorentey/borrow-hypothesis
[Future] Cleanups; add `unsafelyOverrideLifetime(of:to:)` and `Bovine` and `NewArray` prototypes
2024-09-20 13:50:39 -07:00
Karoy Lorentey ca0c7a28b9 wip 2024-09-11 05:48:24 -07:00
Karoy Lorentey 5592b93422 [Xcode] Add missing test files 2024-09-01 20:52:55 -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 bfbb0f605e [Future] Bovine → Shared 2024-09-01 20:40:04 -07:00
Karoy Lorentey 27ce1d423c [Future] More leading underscores and explicit visibility modifiers 2024-08-19 19:49:59 -07:00
Karoy Lorentey ce97a04842 [Future][NFC] Add missing headers 2024-08-19 19:44:14 -07:00
Karoy Lorentey 0e7c4655be [Future] RigidArray, DynamicArray: Add span properties 2024-08-19 19:44:14 -07:00
Karoy Lorentey 4d38958804 [Future] Add NewArray proof of concept 2024-08-19 19:44:14 -07:00
Karoy Lorentey 68a09aec17 [Future] Add Bovine 2024-08-19 19:44:14 -07:00
Karoy Lorentey af62dcd34f [Future] RandomAccessContainer: Reformulate default impls for Strideable indices 2024-08-19 19:44:13 -07:00
Karoy Lorentey e7a55c8759 [Future] Inout: follow the leading underscore rule 2024-08-19 19:44:13 -07:00