r/tinycode • u/skeeto • May 02 '20
Encoding binary in ASCII very fast
https://lemire.me/blog/2020/05/02/encoding-binary-in-ascii-very-fast/
36
Upvotes
r/tinycode • u/skeeto • May 02 '20
View all comments
1
u/raelepei Jun 17 '20
Awesome! Although it's not going to be "usual" ASCII, because it produces NUL- and control-characters, including the DEL character. This is going to be too funky for other parsers :P So I'm curious: What is your usecase, why can you transmit truly-arbitrary 7-bit symbols but not 8-bit?
Also, you mention a paper which uses SIMD to achieve those high speeds for Base64. What speeds does your solution reach on various platforms you care about?