Guillaume Lessard
c290bd3d04
Copy Span prototype to its own branch
2024-10-06 10:24:54 -07:00
Karoy Lorentey
ca0c7a28b9
wip
2024-09-11 05:48:24 -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
Karoy Lorentey
c0802bd93f
[Future] Add unsafelyOverrideLifetime(of:to:)
2024-08-19 19:44:12 -07:00
Karoy Lorentey
75aa5b0755
Hypo → Rigid, Dyno → Dynamic
...
Let’s try these on for size. The greek prefixes work great, but their capitalization looks bad, and they do not interact well with compound names. (`OrderedHyposet`?)
2024-08-12 13:35:42 -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
f64adedbf4
[Future] _CollectionsUtilities → InternalCollectionsUtilities
2024-08-06 11:33:20 -07:00
Karoy Lorentey
a81352a313
[Future] BorrowingIterator: Make copyable; fix nextChunk’s lifetime constraint
2024-08-06 10:50:07 -07:00
Karoy Lorentey
774be11219
[Future] Add HypoArray and DynoArray
2024-08-06 10:44:12 -07:00
Karoy Lorentey
1a5b0e4981
[Future] Add very early prototype for borrowable containers
...
- protocol BorrowingIteratorProtocol
- protocol Container
- protocol BidirectionalContainer
- protocol RandomAccessContainer
2024-08-06 10:44:07 -07:00
Karoy Lorentey
6339b9859e
[_CollectionsUtilities] Add new buffer pointer operations
2024-08-06 10:44:00 -07:00
Guillaume Lessard
3847f3ac53
add a description property
2024-07-24 17:04:37 -07:00
Guillaume Lessard
80c67c2eff
add identity operator
2024-07-24 17:04:37 -07:00
Guillaume Lessard
93efdb9e4e
add doc-comments for the containment utilities
2024-07-16 13:30:51 -07:00
Guillaume Lessard
296f94c2d8
remove undesirable default values
2024-07-16 13:30:29 -07:00
Guillaume Lessard
c611501b0a
mark _indices and _byteOffsets as @_aEIC
2024-07-16 09:09:44 -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
9c0d9af55a
fix inlinability annotations on Span and RawSpan
2024-07-12 16:03:47 -07:00
Guillaume Lessard
d352247af3
remove workaround for rdar://130971168
2024-07-12 13:43:54 -07:00
Guillaume Lessard
f5e16d3f02
fix indentation
2024-07-11 15:18:39 -07:00
Guillaume Lessard
6b11eeb4dc
un-comment parsing utilities, mark compiler issues
...
These compiled in the development nightly toolchain of 6/13, but didn’t anymore in the development nightly of 7/1. The regression is related to typed throws.
2024-07-09 17:13:30 -07:00
Guillaume Lessard
105afd86fb
fix doc-comments
2024-07-02 14:02:58 -07:00
Guillaume Lessard
5ccce50e28
repeatedly add a missing doc-comment paragraph
2024-07-02 14:02:58 -07:00
Guillaume Lessard
fefc900b92
changed uncheckedBounds to just unchecked
2024-07-02 14:02:58 -07:00
Guillaume Lessard
cb6b7c9a55
remove some outdated mentions of “view”
2024-07-02 14:02:58 -07:00
Alejandro Alonso
09f9340dce
Update RawSpan.swift
2024-07-02 11:27:31 -07:00
Alejandro Alonso
9c4d47328e
Add box and cell tests
2024-07-02 11:26:50 -07:00
Alejandro Alonso
39a05be6e1
Update Box.swift
2024-07-02 11:26:25 -07:00
Alejandro Alonso
b8191bedee
Update Cell.swift
2024-07-02 11:26:24 -07:00
Alejandro Alonso
17194f3e45
Add box and cell
2024-07-02 11:26:22 -07:00
Guillaume Lessard
f049c7ae66
better document unsafe operations of RawSpan
2024-06-28 18:35:37 -07:00
Guillaume Lessard
99b025049e
add utilities to determine span containment relationships
2024-06-26 16:40:27 -07:00
Guillaume Lessard
ac0b6e1e39
remove some useless hedging from doc-comments
2024-06-26 16:27:25 -07:00
Guillaume Lessard
ce574378f8
improve bounds-checking and bounds-validation api
2024-06-25 10:27:59 -07:00
Guillaume Lessard
683e1cfb98
make withUnsafe* functions be inlined
2024-06-21 14:18:53 -07:00
Guillaume Lessard
4a20e6c3c9
remove some keywords that are inferred by default
2024-06-21 14:18:53 -07:00
Guillaume Lessard
637518426d
a few corrections
2024-06-21 12:55:08 -07:00
Guillaume Lessard
b7ccc7206c
use byteCount instead of count for RawSpan
...
- use the label `byteOffset` more consistently
2024-06-20 15:05:33 -07:00
Guillaume Lessard
539d11545e
de-emphasize indices property on Span
2024-06-20 15:00:29 -07:00
Guillaume Lessard
3d819ebabf
add parsing utilities
2024-06-20 03:04:42 -07:00