diff options
author | Amjad Ben Hedhili <amjadhedhili@outlook.com> | 2022-09-25 20:23:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 15:23:23 -0400 |
commit | f7f375f59d99ab0006d3aab839449e61cc8153c0 (patch) | |
tree | 4071e7ab4f2815f9ffaa9c62a8d96d879cd20e1b /lib/js | |
parent | 30bd75e459eb52eb043071d91e333fcb3abacf15 (diff) | |
download | Nim-f7f375f59d99ab0006d3aab839449e61cc8153c0.tar.gz |
Optimize `base64.encodeMime` (#20409)
* Optimize `base64.encodeMime` * 5x faster for common scenarios, 13x faster if `lineLen` <= encoded string's length or `newLine` is empty. * Changed `lineLen`'s type to `Positive` to disallow `0`. * Fix
Diffstat (limited to 'lib/js')
0 files changed, 0 insertions, 0 deletions