Hello. I have a few questions regarding types like uN for N different than 8, 16, 32 or 64. I identified two cases.
- N is 1, 2, or 4.
Let's take u2 as an example. I guess the alignment is 1 byte? Or can it be 1/4 byte = 2 bits? If I have an array of m elements of type u2, is it going to be stored using 2m bits or 8m bits = m bytes? Is there a special optimization if m is a multiple of 4?
- N is not a power of 2.
I honestly don't see the point here. Why would I ever use something like u51 instead of u64? However, I have noticed a few u29 in the standard library. So I guess there is a use case.