Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleans up ByteBuffer creation and use in some core-edge specific classes
This commit removes buffers that were allocated but not used, and makes sure to reuse buffers in NaiveDurableRaftLog instead of having them instantiated in every method call. This class is not thread safe anyway because of the way channels are written to.
- Loading branch information
1 parent
77a1020
commit 3f99ec0
Showing
4 changed files
with
29 additions
and
42 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
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