#vec #retain #double #doublevec

twounordered

Provides two vec-like vecs backed by a single vec and provides retain_mut_unordered()

4 releases

0.7.1 Mar 27, 2022
0.6.3 Feb 8, 2021
0.1.0 Dec 24, 2020

#6 in #retain

Download history 29/week @ 2024-03-17 5/week @ 2024-03-24 61/week @ 2024-03-31 8/week @ 2024-04-07 31/week @ 2024-04-14 31/week @ 2024-04-21 43/week @ 2024-04-28 16/week @ 2024-05-05 30/week @ 2024-05-12 26/week @ 2024-05-19 14/week @ 2024-05-26 24/week @ 2024-06-02 44/week @ 2024-06-09 15/week @ 2024-06-16 9/week @ 2024-06-23 2/week @ 2024-06-30

73 downloads per month
Used in 4 crates (via broccoli)

MIT license

11KB
280 lines

github crates.io

A crate that provides the user with two fast "vec-like" vecs that are backed by a single vec. The caveat is that the operations like push and truncate may rearrange the order of the other vec in an unspecified way. Also provides a retain_mut_unordered function to both the regular Vec as well as the two "vec-like" vecs provided by this crate.


lib.rs:

A crate that provides the user with two fast "vec-like" vecs that are backed by a single vec. The caveat is that the operations like push and truncate may rearrange the order of the other vec in an unspecified way. Also provides a retain_mut_unordered function to both the regular Vec as well as the two "vec-like" vecs provided by this crate.

No runtime deps