Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Feb 12, 2024

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
25 checks passed
@DaniPopes DaniPopes deleted the precompiles-3 branch February 12, 2024 02:11
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