Skip to content

chore: preallocate in extend_one_byte#124

Open
Ocheretovich wants to merge 1 commit intoCosmWasm:mainfrom
Ocheretovich:main
Open

chore: preallocate in extend_one_byte#124
Ocheretovich wants to merge 1 commit intoCosmWasm:mainfrom
Ocheretovich:main

Conversation

@Ocheretovich
Copy link

Preallocate capacity in extend_one_byte to avoid a potential reallocation when pushing the extra byte. This change does not modify behavior or API. All tests pass and logic remains identical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant