Hey folks,
Based on the ongoing discussion, the authors have provided a pull request with some updates to the API for Span:
- Add
Indextype andindicesproperty toSpan. - Add
byteOffsetstoRawSpan. - Removed the index validation utilities (e.g.,
boundsContain,isWithin) fromSpanandRawSpan. - 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