swift
0d2f40db - Implement distance(from:to:) for DefaultIndex'd collections

Commit
7 years ago
Implement distance(from:to:) for DefaultIndex'd collections This actually makes calculating the distance between any two non-endIndex indices an O(1) operation, oddly enough.
Author
Parents
Loading