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: avoid unnecessary (re)allocations in path expansion #92

Merged
merged 2 commits into from
May 17, 2024

Conversation

rkrasiuk
Copy link
Contributor

Description

Avoid unnecessary subsequent reallocations and expanded parent path, only allocate on demand. Avoid cloning vec arguments passed to the function.

@kevaundray
Copy link
Contributor

Can merge once clippy fixes are fixed!

@rkrasiuk
Copy link
Contributor Author

@kevaundray should be fixed now!

@kevaundray kevaundray merged commit 9b70275 into crate-crypto:master May 17, 2024
@rkrasiuk rkrasiuk deleted the perf/path-expansion branch May 22, 2024 08:31
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