Re:C++ proposal: There are 8 bits in a byte
by morio on Thursday October 17, 2024 @08:27PM
(#41875211)
One example from the software side: A common thing to do in data processing is to obtain bit offsets (compression, video decoding etc.). If a byte would be 10 bits you would need mod%10 operations everywhere which is slow and/or complex. In contrast mod%(2^N) is one logic processor instruction.
[ Parent
| on HN ]
There are no comments on this comment yet.