News for hackers. Stuff that matters.
Re:Base-122 – A space efficient alternative to base-64 by jws on Sunday November 27, 2016 @01:53PM (#13050681)
base 85 also has the interesting property that 4 original bytes fit in 5 encoded bytes. Depending on your processor's memory model and the cost of multiplies compared to shifts this can make it the best performer.

This was true on Vax 8200 hardware back in the day. In the same software, with Huffman decoding of JPEGs it was also fastest to create a finite state machine with an 8 bit symbol size. I suspect that is no longer true since it would kill your L1 cache and be well into your L2 cache on modern x86 machines. It is probably better to take the instruction count hit and process as bits or nibbles.

Re:Base-122 – A space efficient alternative to base-64 by feadog on Sunday November 27, 2016 @08:26PM (#13052791)
base 85 also has the interesting property that 4 original bytes fit in 5 encoded bytes.

Still useful for Javascript, as the bit shift operators work on 32 bit "registers".