#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

#1110 in Data structures

Download history 67/week @ 2024-12-09 23/week @ 2024-12-16 5/week @ 2024-12-30 22/week @ 2025-01-06 30/week @ 2025-01-13 19/week @ 2025-01-20 20/week @ 2025-01-27 36/week @ 2025-02-03 44/week @ 2025-02-10 47/week @ 2025-02-17 21/week @ 2025-02-24 19/week @ 2025-03-03 22/week @ 2025-03-10 25/week @ 2025-03-17 6/week @ 2025-03-24

74 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.

No runtime deps