denvaar / base64

Exploring base64 encoding/decoding :rainbow:
0 stars 6 forks source link

Improve decoder performance #10

Closed denvaar closed 6 years ago

denvaar commented 6 years ago

The decoding algorithm could be improved. It takes a long time to decode a lot of data (for example, an encoded font file.)

This line is pretty slow: https://github.com/denvaar/base64/blob/master/lib/base64.ex#L62

Find a way to improve the performance.