What is the best way to store between a million to 450,000 Boolean values in a dictionary like collection indexed by a long number? I need to use the least amount of memory pos
Check this question. Bitarray seems to be the preferred choice.