News for hackers. Stuff that matters.
Re:Show HN: How to store a set of four 5-bit values in one 1... by pavlov on Sunday January 28, 2018 @01:46AM (#16250161)
Consider the simplest case where your set members are just bits.

If you have three bits and you care about the order, that's a 3-bit number -- it can take 8 different values.

If you have those same bits but you don't care about the order, the operation is a "bit count" -- you can only have 4 different values.

There are no comments on this comment yet.