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

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

#560 in Data structures

Download history 9/week @ 2024-01-04 18/week @ 2024-01-11 1/week @ 2024-02-08 4/week @ 2024-02-15 11/week @ 2024-02-22 11/week @ 2024-02-29 17/week @ 2024-03-07 117/week @ 2024-03-14 9/week @ 2024-03-21 29/week @ 2024-03-28 19/week @ 2024-04-04 3/week @ 2024-04-11

64 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