BidirectionalCollection.index(_:offsetBy:)
is the most obvious example, because the BidirectionalCollection
’s version of index(_:offsetBy:)
allows negative indices. RandomAccessCollection
’s version is also marked @_nonoverride
because it is required to be asymptotically faster than the Collection
or BidirectionalCollection
versions.