fastutil - sometimes certainly quite practical, Collections for Java that are based on primitive types and implement these Collections in a space- and performance-efficient manner. So for example something like an array of bytes. Or a map of strings to booleans. The library has over 1000 such combinations ready ...