Closed vigna closed 10 months ago
Sequential graphs would benefit from a weaker iterator specification:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9b64b71d0d22c09063e4e1419bf8dd76
In particular, this would make it possible to stop using the unsafe pointer dereference to batches of sorted pairs.
Maybe next_weak is not a good name. next_lt (lifetime)?
next_weak
next_lt
Before doing it, we should finish discussing in issue #31 the implications of this kind of trait.
And, also this is so ancient history...
Sequential graphs would benefit from a weaker iterator specification:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9b64b71d0d22c09063e4e1419bf8dd76
In particular, this would make it possible to stop using the unsafe pointer dereference to batches of sorted pairs.
Maybe
next_weak
is not a good name.next_lt
(lifetime)?