-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- messages keeps a dirty flag to indicate if it's changed. If message is clean then encoding is a direct copy of the byte slice, rather than going through the encoding process. - some updates to messages are done directly to the buffer (thus keeping it clean, i.e., dirty flag not set). - QoS 1 and 2 messages are copied into ackqueue while waiting so the incoming/outgoing buffer can keep moving along (major issue in the last commit) - Performance is slightly increased (~5-10%) overall
- Loading branch information
Showing
15 changed files
with
342 additions
and
166 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
Oops, something went wrong.