Base64 at Warp Speed: Achieving 0.2 Cycles per Byte
·34 words·1 min
Typical Base64 code takes 20 cycles/byte, optimized one might take 3 cycles. By using vectorization, this can be brought down to 0.4. And now folks have managed to achieve just 0.2 cycles/byte! https://lemire.me/blog/2018/01/17/ridiculously-fast-base64-encoding-and-decoding/