#data-structures #collections #vecmap #vec_map #contain-rs

vec_map

A simple map based on a vector for small integer keys

10 releases (breaking)

Uses old Rust 2015

0.8.2 May 6, 2020
0.8.1 May 11, 2018
0.8.0 May 8, 2017
0.7.0 Feb 27, 2017
0.3.0 Jul 11, 2015

#42 in Data structures

Download history 120120/week @ 2020-04-11 130544/week @ 2020-04-18 126230/week @ 2020-04-25 146658/week @ 2020-05-02 185208/week @ 2020-05-09 163200/week @ 2020-05-16 154802/week @ 2020-05-23 159458/week @ 2020-05-30 164778/week @ 2020-06-06 170584/week @ 2020-06-13 158331/week @ 2020-06-20 159877/week @ 2020-06-27 167929/week @ 2020-07-04 159719/week @ 2020-07-11 179809/week @ 2020-07-18 192763/week @ 2020-07-25

490,829 downloads per month
Used in 6,236 crates (46 directly)

MIT/Apache

47KB
989 lines

WARNING: THIS PROJECT IS IN MAINTENANCE MODE, DUE TO INSUFFICIENT MAINTAINER RESOURCES

It works fine, but will generally no longer be improved.

We are currently only accepting changes which:

  • keep this compiling with the latest versions of Rust or its dependencies.
  • have minimal review requirements, such as documentation changes (so not totally new APIs).

A simple map based on a vector for small integer keys.

Documentation is available at https://contain-rs.github.io/vec-map/vec_map.


lib.rs:

A simple map based on a vector for small integer keys. Space requirements are O(highest integer key).

Dependencies

~180KB