News for hackers. Stuff that matters.
Re:Show HN: How to store a set of four 5-bit values in one 1... by yshklarov on Saturday January 27, 2018 @10:26PM (#16249592)
Taking this to the extreme, you could "store" 65535 1-bit values in one 16-bit value. You just have to keep track of how many of them are equal to 1.
Re:Show HN: How to store a set of four 5-bit values in one 1... by uniformlyrandom on Sunday January 28, 2018 @01:56AM (#16250190)
Thank you - this is a much better explanation of how this 'storage' works.
Re:Show HN: How to store a set of four 5-bit values in one 1... by ViktorV on Sunday January 28, 2018 @04:34AM (#16250581)
I think this is not true for single bits this way.