2 ms·
2^32 == 4GiB
by kevin_thibedeau 7y ago
2^32 == 4GiB
- Hitton 7y ago>2^32 == 4GiB That's bytes, not bits.
- miloignis 7y ago2^32 bytes is 4 GiB, but 2^32 bits is 512 MiB. In the GP's hypothetical array, I believe you would index (array[idx >> 3] >> (idx & 7)) != 0
- ncmncm 7y agoGood point: they could store a whole byte, or a whole word, for each address, not just a bit, and still have lots of RAM left over.