#vec #small-vec #collection #size #small

mediumvec

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

9 stable releases

1.3.1 Nov 10, 2024
1.3.0 Mar 14, 2024
1.2.0 May 30, 2021
1.1.0 Nov 17, 2020
1.0.1 Mar 29, 2017

#496 in Data structures

Download history 81/week @ 2024-07-29 10/week @ 2024-09-09 5/week @ 2024-09-16 54/week @ 2024-09-23 8/week @ 2024-09-30 22/week @ 2024-10-07 7/week @ 2024-10-14 8/week @ 2024-10-21 40/week @ 2024-10-28 92/week @ 2024-11-04 48/week @ 2024-11-11

188 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