Efficient hashing-based container types