In the similar topic, I'm trying to find maps optimised for a small maximum number of items (8 or 16) indexed by integers.
Curiously I failed to find discussions about this topic..
But std::map seems very badly fit for this kind of map.
- BitMagic: http://bitmagic.io/, https://github.com/tlk00/BitMagic
- Succinct Data Structure Library 2.0: https://github.com/simongog/sdsl-lite, https://github.com/simongog/sdsl-lite/wiki/Literature