Skip to content

txnprovider/shutter: preallocate slices in encryption functions#18618

Merged
AskAlexSharov merged 1 commit intoerigontech:mainfrom
0xlupin:patch-6
Jan 13, 2026
Merged

txnprovider/shutter: preallocate slices in encryption functions#18618
AskAlexSharov merged 1 commit intoerigontech:mainfrom
0xlupin:patch-6

Conversation

@0xlupin
Copy link
Copy Markdown
Contributor

@0xlupin 0xlupin commented Jan 10, 2026

Optimize memory allocations in computeC3, DecryptBlocks, and PadMessage by preallocating slices with known capacity instead of using append.

@AskAlexSharov AskAlexSharov enabled auto-merge (squash) January 11, 2026 06:58
@AskAlexSharov AskAlexSharov merged commit d1f33c2 into erigontech:main Jan 13, 2026
17 of 18 checks passed
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.

2 participants