79543067

Date: 2025-03-29 09:57:28
Score: 2
Natty:
Report link

Of course you can store in a single byte. Just use the binary values ie: 2^0 for 1 selected, 2^1 for 2 selected, 2^2 for 3 selected, 2^3 for 4 selected. But I do agree with Ken White, its important to think about how you want to use the data, in the end storage space is unlikely to be the critical factor!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dave