3 ms·
Yes, but surprisingly hard to find a good citation! Best I can do is note where I found out about it, or at least what inspired this project...
by fanf2 11y ago
Yes, but surprisingly hard to find a good citation! Best I can do is note where I found out about it, or at least what inspired this project...
- DannyBee 11y agoI 100% agree with this part :) I'm glad you noted it explicitly somewhere, as this trick should be better known. Note that while sparse, it is not as memory efficient as, for example, linked list bitmaps. This is because the mask is going to contain O(universe/wordsize) bits, and depending on the size of the universe, the mask may be larger than the actual data stored!