Simple in-memory bit storage for storing a large number of flags