RSSAmplifier

Sam Thorogood · Apr 7, 2026

Base64 Is Fast Now, Actually

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Base64 Is Fast Now, Actually This is a short post. I was wondering recently, if I had to send a binary file across a text stream to a browser - i.e., embedded in JSON - what would be the fastest way to do that. Clearly, base64'ing the content is a valid approach and always has a 4/3 overhead. However, one thought I had is that JS strings are fundamentally just arrays of unsigned 16-bit integers…

Read on samthor.au

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.