Keep track of number of set elements in map

This allows much more efficient versions of len() and is_empty(), and
also enables ExactSizeIterator to be implemented for VecMap's iterators.

Fixes #32
1 file changed
tree: fcfbccff0038d438a89734dfabaac4ee5b751c72
  1. .gitignore
  2. .travis.yml
  3. Cargo.toml
  4. LICENSE-APACHE
  5. LICENSE-MIT
  6. README.md
  7. deploy-docs.sh
  8. src/
README.md

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

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