#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

#514 in Data structures

Download history 8/week @ 2024-10-19 38/week @ 2024-10-26 25/week @ 2024-11-02 111/week @ 2024-11-09 28/week @ 2024-11-16 9/week @ 2024-11-23 36/week @ 2024-12-07 37/week @ 2024-12-14 1/week @ 2024-12-28 20/week @ 2025-01-11 46/week @ 2025-01-18 9/week @ 2025-01-25 19/week @ 2025-02-01

94 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