3 ms·
> going from an 8 bit alphabet (ASCII encoding) to a 4 bit alphabet (CGAT). ASCII in the strict sense is 7-bit, CGAT is 2-bit.
by dragonwriter 4y ago
> going from an 8 bit alphabet (ASCII encoding) to a 4 bit alphabet (CGAT).
ASCII in the strict sense is 7-bit, CGAT is 2-bit.
- actually_a_dog 4y agoYeah, 2 bit vs 4 bit is my bad. It doesn't really change much though, except to strengthen the conclusion and just makes gzip's 10:1 compression ratio even less impressive. I'm counting ASCII as 8 bits because it's still stored as 8 bits regardless of whether you only use 7 of them.