#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

#406 in Data structures

Download history 31/week @ 2024-11-14 10/week @ 2024-11-21 2/week @ 2024-11-28 16/week @ 2024-12-05 56/week @ 2024-12-12 1/week @ 2024-12-19 1/week @ 2024-12-26 2/week @ 2025-01-09 47/week @ 2025-01-16 23/week @ 2025-01-23 18/week @ 2025-01-30 38/week @ 2025-02-06 27/week @ 2025-02-13 33/week @ 2025-02-20 32/week @ 2025-02-27

137 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