Avril
729786a568
Tests: Added non-overlapping multithreaded iteration testing for trivial an non-trivial values.
...
TODO: Next, add overlapping multithreaded iteration with trivial and nontrivial values.
Fortune for parapop's current commit: Future small blessing − 末小吉
3 years ago
Avril
9272f1addb
Started adding unit tests.
...
iteration: Single threaded full iterators populate and drop correctly for trivial and non-trivial types.
Fortune for parapop's current commit: Half blessing − 半吉
3 years ago
Avril
4b85a45a27
Added `Iter<"re, "a, T>`: An iterator over a `Populator<"a, T>`, or a slice of elements in that populator. The iterator yields `Ref<"re, "a, T>`, which can be used to insert into the populator or inspect its set-status.
...
Fortune for parapop's current commit: Curse − 凶
3 years ago
Avril
02821a2aa9
Added `completed_{ref,mut}()` methods as pancking complements for `try_completed_{ref,mut}()`.
...
Fortune for parapop's current commit: Curse − 凶
3 years ago
Avril
fa6eb5810d
Added exclusive reference: `RefEx`. Added `try_completed_{ref,mut}()` which returns a slice of all the elements if the populator has completed.
...
Fortune for parapop's current commit: Future blessing − 末吉
3 years ago
Avril
7748572f79
Added parent accessor to Ref and OwnedRef
...
Fortune for parapop's current commit: Small curse − 小凶
3 years ago
Avril
9a30ad5665
Added OwnedRef: References a single slot from an Arc"d Populator.
...
Fortune for parapop's current commit: Future blessing − 末吉
3 years ago
Avril
c7932794f0
Moved Ref related things to own private submodule
...
Fortune for parapop's current commit: Future small blessing − 末小吉
3 years ago
Avril
6a4b2e918d
Fortune for parapop's current commit: Small curse − 小凶
3 years ago
Avril
7fa9f5cce1
Added iter::FullRefIter for completed Populators. This should maybe (*MUST*, if we allow changing set elements, which we probably won"t) be born from an exclusive reference? But if it"s full then no other reference can modify anything so I"m not sure, it might be safe to create with only a shared reference.
...
Fortune for parapop's current commit: Curse − 凶
3 years ago
Avril
5ca9459495
Added more _exclusive() functions with no atomic operations. Start adding Ref, that tracks a single slot.
...
Fixed partial iterstor"s size_hint() not updating when the iterator is consumed.
Fortune for parapop's current commit: Future small blessing − 末小吉
3 years ago
Avril
49dd362b5b
Added basic (kinda janky) IntoIter
...
Fortune for parapop's current commit: Curse − 凶
3 years ago
Avril
0443248162
Removed unused dep
...
Fortune for parapop's current commit: Small curse − 小凶
3 years ago
Avril
00a285bcdb
Added Populator<T>, insert(), and complete() methods written
...
Fortune for parapop's current commit: Half blessing − 半吉
3 years ago
Avril
f64a36af70
Initial commit
...
Added README.md and description
Fortune for parapop's current commit: Curse − 凶
3 years ago