• MrFunnyMoustache
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Wait, isn’t your first example goes from 13 spaces binary to a 6 spaces of base 12 (base 10 + the two values A or B).

    That would make the “compressed” result be 110111010111011101110011 which is larger than the original message when both are in binary…

      • MrFunnyMoustache
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Fair enough. The general idea is correct, I just found that example rather jarring… It is generally more difficult to compress an already small amount of data anyway.