-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster Base64 Encoding for NIOWebsocket connections
Motivation: In performance tests was shown that the current base 64 encoding function doesn’t perform very well. #1322 Modifications: This commit replaces the current Base64 implementation with a more performant one (by using UInt8 bytes instead of Unicode.Scalars). Result: The API will stay the same. Base64 encoding is just faster.
- Loading branch information
1 parent
f1a7acc
commit d3a6da9
Showing
1 changed file
with
101 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters