Skip to content

optimize: Use Smallvec#514

Merged
aawsome merged 1 commit into
mainfrom
smallvec
May 23, 2026
Merged

optimize: Use Smallvec#514
aawsome merged 1 commit into
mainfrom
smallvec

Conversation

@aawsome
Copy link
Copy Markdown
Member

@aawsome aawsome commented May 23, 2026

Optimize BlobLocations for the case that this contains only a single blob - which can be ofthen the case.
In this case, this PR reduces memory allocations and size.

This affects the restore, prune and copy command.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.7%. Comparing base (d8abf46) to head (45a28be).

Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/blob.rs 70.5% <100.0%> (ø)
crates/core/src/commands/restore.rs 44.2% <100.0%> (+0.3%) ⬆️

... and 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aawsome aawsome merged commit cb429f8 into main May 23, 2026
36 of 37 checks passed
@aawsome aawsome deleted the smallvec branch May 23, 2026 11:37
@rustic-release-plz rustic-release-plz Bot mentioned this pull request May 23, 2026
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