-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code to use streams instead of AsyncRead/AsyncWrite
This will greatly reduce the amount of copies needed when paired with using `bytes` package. This is because `bytes` package will not make copies of the data much of the time. Instead we will ship these Bytes structs around and only when needed make a copy. These structs also don't make copies most of the time when passed from module to module and instead just point to the same memory.
- Loading branch information
Showing
29 changed files
with
713 additions
and
901 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
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
Oops, something went wrong.