Commit Graph
869 Commits
Author SHA1 Message Date
Guillaume Lessard 98b8b78637 rename two OutputSpan functions 2025-03-07 09:14:32 -08:00
Guillaume Lessard 505d6d5dc4 add unsafe annotations for Span extensions 2025-03-05 15:00:14 -08:00
Guillaume Lessard 4523e7a063 add required unsafe annotations to OutputSpan 2025-03-05 14:38:46 -08:00
Guillaume Lessard 8e76a05f4f annotate slicing examples 2025-03-05 13:56:41 -08:00
Guillaume Lessard 0b96db119e remove unneeded unsafe keywords 2025-03-05 13:56:26 -08:00
Guillaume Lessard eaecf56fbe add required unsafe annotations to MutableRawSpan 2025-03-05 10:15:18 -08:00
Guillaume Lessard cd48e83c46 add required unsafe annotations to MutableSpan 2025-03-05 10:15:18 -08:00
Guillaume Lessard e299604433 trim the set of extracting() functions 2025-03-04 17:00:41 -08:00
Guillaume Lessard 91526b4e51 update bulk-copy operations for MutableRawSpan 2025-03-04 16:47:28 -08:00
Guillaume Lessard 6e5b9498ce storeBytes() must be mutating 2025-03-04 16:47:28 -08:00
Guillaume Lessard 4334415fc0 annotation cleanup 2025-02-28 09:12:24 -08:00
Guillaume Lessard eb6f492043 add a note 2025-02-27 21:10:43 -08:00
Guillaume Lessard f6eff9d7f7 Update OutputSpan 2025-02-27 21:09:22 -08:00
Guillaume Lessard 6808d4f0b5 add extracting functions to MutableSpan and MutableRawSpan 2025-02-27 03:03:32 -08:00
Guillaume Lessard 56e5b56149 fix a parameter name 2025-02-27 03:02:58 -08:00
Guillaume Lessard bd94d9ffbe add missing annotations 2025-02-26 16:31:43 -08:00
Guillaume Lessard 5b81ead26c simpler slicing 2025-02-24 09:11:34 -08:00
Guillaume Lessard e352bf057c adjust copyright years 2025-02-24 09:11:34 -08:00
Guillaume Lessard 0131e7aae2 small fixes 2025-02-24 09:05:17 -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 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