forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(internal/blocksync): avoid double-calling
types.BlockFromProto
(…
…cometbft#2016) for performance reasons. Closes cometbft#1964 --- - [ ] ~~Tests written/updated~~ - [x] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [x] Updated relevant documentation (`docs/` or `spec/`) and code comments
- Loading branch information
1 parent
95b5f92
commit 502a382
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...unreleased/improvements/2016-blocksync-avoid-double-calling-block-from-proto.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[blocksync]` Avoid double-calling `types.BlockFromProto` for performance | ||
reasons ([\#2016](https://github.com/cometbft/cometbft/pull/2016)) |
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