Skip to content

perf: Vec::resize instead of iter::repeat_n (#12) - #13

Merged
wilhelmagren merged 2 commits into
mainfrom
perf/vec-resize-instead-of-iter-repeat-n
Aug 14, 2025
Merged

perf: Vec::resize instead of iter::repeat_n (#12)#13
wilhelmagren merged 2 commits into
mainfrom
perf/vec-resize-instead-of-iter-repeat-n

Conversation

@wilhelmagren

Copy link
Copy Markdown
Contributor

improves performance drastically for left aligned padd (when adding to the right of a vec)

@codecov

codecov Bot commented Aug 14, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/source.rs 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@wilhelmagren
wilhelmagren merged commit 9b850bc into main Aug 14, 2025
3 of 4 checks passed
@wilhelmagren
wilhelmagren deleted the perf/vec-resize-instead-of-iter-repeat-n branch August 14, 2025 22:14
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