-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: optimize Vec push avoid realloc mem (#1374)
* optimize Vec push avoid realloc mem * opt vec alloc in nft transfer execute * chore: add changelog * nit in changelog --------- Co-authored-by: Ranadeep Biswas <[email protected]> Co-authored-by: Farhad Shabani <[email protected]>
- Loading branch information
1 parent
34befe5
commit e0451ae
Showing
4 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/1374-optimize-vec-push-avoid-realloc-mem.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 @@ | ||
- [ibc-app-nft-transfer] Preallocate `Vec` to avoid reallocation of memory | ||
([\#1374](https://github.com/cosmos/ibc-rs/pull/1374)). |
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