Faster Base64 Encoding and Decoding Using AVX2 Instructions
https://arxiv.org/abs/1704.00605 [arxiv.org]
2017-08-31 17:26
We estimate that billions of base64 messages are decoded every day. We are motivated to improve the efficiency of base64 encoding and decoding. Compared to state-of-the-art implementations, we multiply the speeds of both the encoding (~10x) and the decoding (~7x). We achieve these good results by using the single-instruction-multiple-data (SIMD) instructions available on recent Intel processors (AVX2).