#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

#507 in Data structures

Download history 1/week @ 2024-09-05 14/week @ 2024-09-12 34/week @ 2024-09-19 24/week @ 2024-09-26 17/week @ 2024-10-03 16/week @ 2024-10-10 4/week @ 2024-10-17 15/week @ 2024-10-24 44/week @ 2024-10-31 113/week @ 2024-11-07 31/week @ 2024-11-14 10/week @ 2024-11-21 3/week @ 2024-11-28

157 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