Skip to content

Comments

perf(precompile): don't allocate if padding is not needed#1075

Merged
rakita merged 2 commits intobluealloy:mainfrom
DaniPopes:precompiles-3
Feb 12, 2024
Merged

perf(precompile): don't allocate if padding is not needed#1075
rakita merged 2 commits intobluealloy:mainfrom
DaniPopes:precompiles-3

Conversation

@DaniPopes
Copy link
Collaborator

@DaniPopes DaniPopes commented Feb 10, 2024

Return Cow<[u8 (; LEN)]> in padding functions when padding is not needed due to input being long enough.

First commits are #1073 and #1074.

Actual changes in the last commit.

@DaniPopes DaniPopes marked this pull request as ready for review February 11, 2024 21:17
@rakita rakita merged commit 3a58880 into bluealloy:main Feb 12, 2024
@DaniPopes DaniPopes deleted the precompiles-3 branch February 12, 2024 02:11
This was referenced Mar 10, 2025
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