#vec #double #retain #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

#4 in #retain

Download history 2/week @ 2024-07-21 103/week @ 2024-07-28 41/week @ 2024-08-04 15/week @ 2024-08-11 1/week @ 2024-08-18 12/week @ 2024-08-25 14/week @ 2024-09-01 14/week @ 2024-09-08 37/week @ 2024-09-15 36/week @ 2024-09-22 26/week @ 2024-09-29 72/week @ 2024-10-06 41/week @ 2024-10-13 47/week @ 2024-10-20 18/week @ 2024-10-27 33/week @ 2024-11-03

147 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