Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: WebSocketFrameDecoder makes an allocation due to WebSocketFrame not fitting in a existential. We should reduce this overhead. Modifications: Moved data and extensionData into a cow-box and reorder fields to more efficiently pack them. Result: WebSocketFrame is now 14 bytes, down from 55.
- Loading branch information
Marli Oshlack
committed
Nov 1, 2019
1 parent
62fd872
commit 9b58083
Showing
3 changed files
with
63 additions
and
19 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
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