mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
I have a linked list prototype that can support comparable indices (and an O(1) `count`); accordingly, reinstate the requirement for index comparability. This eliminates a potential performance footgun for custom containers that define their own Index, as an incomparable index would make `func distance` 2x slower.