Commit Graph
115 Commits
Author SHA1 Message Date
Karoy Lorentey 9e2fc09c3e Update Span/* to build with current snapshots 2025-04-08 14:48:07 -07:00
Karoy Lorentey 64eab2812b Move Span back under Future 2025-04-08 14:48:05 -07:00
Karoy Lorentey 74bc4d7dee Revive Future/*
Contents are mostly disabled for now
2025-04-08 14:48:02 -07: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 1a6dbeb3d6 add missing initializers from Slice 2024-10-24 18:19:22 -07:00
Guillaume Lessard fd29394499 fix lifetime annotations 2024-10-24 17:17:04 -07:00
Guillaume Lessard 61e943d7cf readability updates 2024-10-24 15:13:25 -07:00
Guillaume Lessard 1f955c3c1b more minor tweaks
(and also remove _shrink)
2024-10-23 18:20:44 -07:00
Guillaume Lessard fdc4b83b68 span updates and tweaks 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 bc567dfc31 workaround for OutputSpan’s deinit 2024-10-09 10:25:14 -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 b82dd4eb9b refine update-from-sequence functions
- a function that mutates an iterator is much more modular
2024-10-06 10:26:27 -07:00
Guillaume Lessard 2b9874bb33 MutableSpan<T: BitwiseCopyable> must be aligned 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 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 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