Karoy Lorentey
1d2a52779c
[PersistentSet] Add missing docs
2022-10-27 18:08:27 -07:00
Karoy Lorentey
84356e58c7
[PersistentCollection] Back out BidirectionalCollection conformance
...
BidirectionalCollection has the connotation that the ordering
of elements is meaningful, which isn’t the case for PersistentSet
and PersistentDictionary.
2022-10-27 18:08:27 -07:00
Karoy Lorentey
ab750075a2
[PersistentCollections] Add missing Custom[Debug]StringConvertable conformances, review existing ones
...
Add `Custom[Debug]StringConformance` conformances on:
- `PersistentDictionary.Keys`
- `PersistentDictionary.Values`
- `PersistentDictionary.Index`
- `PersistentSet.Index`
2022-10-20 17:14:52 -07:00
Karoy Lorentey
c1b8d2aa9c
[PersistentSet] Round out Collection conformance with underscored requirements
...
The two highlights are _customIndexOfEquatableElement and _customLastIndexOfEquatableElement, speeding up the implementation of `firstIndex(of:)` and `lastIndex(of:)`.
2022-10-09 15:23:12 -07:00
Karoy Lorentey
d7dbaee8b9
[PersistentCollections] Minor enhancements
2022-10-09 15:20:40 -07:00
Karoy Lorentey
4b04acfe65
[PersistentSet] PersistentSet, .Iterator, .Index: Explicitly conform to Sendable where Element is Sendable
2022-10-05 11:45:23 -07:00
Karoy Lorentey
77f205f45e
[PersistentCollections] Implement structural index(_:offsetBy:) & index(_:offsetBy:limitedBy:)
2022-09-23 11:15:46 -07:00
Karoy Lorentey
958fd47539
[PersistentSet] Start drafting the new type
2022-09-21 10:45:20 -07:00