#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 19/week @ 2024-01-22 28/week @ 2024-01-29 29/week @ 2024-02-05 24/week @ 2024-02-12 81/week @ 2024-02-19 40/week @ 2024-02-26 34/week @ 2024-03-04 27/week @ 2024-03-11 30/week @ 2024-03-18 4/week @ 2024-03-25 63/week @ 2024-04-01 6/week @ 2024-04-08 33/week @ 2024-04-15 31/week @ 2024-04-22 48/week @ 2024-04-29 9/week @ 2024-05-06

122 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