News for hackers. Stuff that matters.
Re:Show HN: How to store a set of four 5-bit values in one 1... by jandrese on Sunday January 28, 2018 @05:03PM (#16253857)
If you care about the order then

1, 2, 3, 4 has to be stored differently than 4, 3, 2, 1, as well as 1, 3, 2, 4, and so on.

If you don't care about the order all of those can be stored in exactly the same way. Think of it like lossy compression, if you don't care about some of the detail you an ignore it (the order of the numbers in this case) and save some space.

There are no comments on this comment yet.