-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminates a copy in the DCC decoder. (#547)
* Switches the DCC decoder to use zero-copy buffering. * Adds yield when the next packet shows up. * Fix style to be simpler to read. * Fixes bugs around packet length.
- Loading branch information
1 parent
d551997
commit 9ba9ae1
Showing
2 changed files
with
110 additions
and
69 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