#vec #small-vec #collection

mediumvec

Vector types optimized for space, including a 32-bit Vec

8 stable releases

1.3.0 Mar 14, 2024
1.2.0 May 30, 2021
1.1.0 Nov 17, 2020
1.0.4 Mar 5, 2019
1.0.1 Mar 29, 2017

#595 in Data structures

Download history 22/week @ 2024-06-15 14/week @ 2024-06-22 1/week @ 2024-06-29 8/week @ 2024-07-06 80/week @ 2024-07-27 1/week @ 2024-08-03 7/week @ 2024-09-07 8/week @ 2024-09-14 48/week @ 2024-09-21 14/week @ 2024-09-28

77 downloads per month
Used in string32

MIT/Apache

17KB
338 lines

mediumvec

Vec32<T>, a version of Vec<T> that is indexed by u32 instead of usize, for a slight reduction in size on 64-bit platforms.


lib.rs:

A vector that is indexed by u32 instead of usize.

No runtime deps