You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this project is to provide an easy to use [RFC4648](https://tools.ietf.org/html/rfc4648)
10
-
complient base64 encode and decode implentation in pure Swift. Further this implementation
11
-
tries to be faster than the [Foundation Base64](https://developer.apple.com/documentation/foundation/nsdata)
12
-
implementation.
13
9
14
-
Right now the implementation is dead simple. No fancy precomputed lookup tables, no fancy
15
-
SIMD instructions.
10
+
This project provides a base64 encoder and decoder in pure Swift (without the use of Foundation). The implementation is [RFC4648](https://tools.ietf.org/html/rfc4648) complient.
11
+
12
+
Today the implementation is rather simple. No fancy precomputed lookup tables, no fancy SIMD instructions. Therefore, there is definitely room for improvement performance wise. See also [Literature for a faster algorithm](#user-content-literature-for-a-faster-algorithm)
16
13
17
14
Everything began with [an issue](https://github.com/apple/swift-nio/issues/1265) on [`swift-nio`](https://github.com/apple/swift-nio).
I have no idea why Foundation base64 encoding is so slow on linux. 🤷♂️
58
55
59
56
## Literature for a faster algorithm
60
57
61
-
I would really like to speedup this repository further to be way faster than it is today.
62
-
Some food for thought of how this could be approached can be found here:
58
+
I would really like to speed up this project further to be way faster than it is today. Some food for thought of how this could be approached can be found here:
0 commit comments