Hey folks,
Based on the ongoing discussion, the authors have provided a pull request with some updates to the API for Span
:
- Add
Index
type andindices
property toSpan
. - Add
byteOffsets
toRawSpan
. - Removed the index validation utilities (e.g.,
boundsContain
,isWithin
) fromSpan
andRawSpan
. - Provide more detail on how the subscript accessor is likely to evolve (it's specified as
_read
). - Some wordsmithing around
unsafeLoad
.
We'll extend this review until October 15, 2024.
Doug Gregor
Review Manager