adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
530 stars 125 forks source link

Remove an allocation when decoding base64 #429

Closed Inkrementator closed 2 months ago

Inkrementator commented 2 months ago

Untested POC. I'll probably get around to create some tests for this on the weekend.

adamdruppe commented 2 months ago

This looks harmless to me too so i can merge unless you have more changes in mind.

Inkrementator commented 2 months ago

No further changes from me, but be aware that I have no mbox files lying around to sanity check this. The unittest should be enough though with the current master now that base64 blocks contain linebreaks

adamdruppe commented 2 months ago

I have an old mbox file, i'll merge and fix it up if needed.