3 unstable releases
0.2.1 | Mar 6, 2021 |
---|---|
0.2.0 | Mar 5, 2021 |
0.1.0 | Feb 26, 2021 |
#2304 in Data structures
127 downloads per month
Used in 8 crates
(via music-player-tracklist)
67KB
1.5K
SLoC
atlist
A LinkedList in which the liftime of iterator is independent from LinkedList.So it's allowed to store iterator into anywhere and insert/remove element by iterator at any time.
Adding, removing and moving a iterator does not invalidate other iterators or references. An iterator is invalidated only when the corresponding element is deleted.
We use core::cell::RefCell
and std::sync::Arc
to manange lifetime of real data entry, so it's slightly slower than std::collections::LinkedList
.