Refactor MediaFile and related structures to use Arc<str> for name an…#11
Conversation
…d extension - Updated MediaFile struct to use Arc<str> for name and extension fields. - Modified CacheEntry and FileManager to accommodate changes in MediaFile. - Adjusted file organization logic in FileOrganizer to handle Arc<str> correctly. - Refactored filter matching logic in FilterSet to utilize Arc<str>. - Updated tests across various modules to reflect changes in MediaFile structure. - Enhanced performance by reducing string allocations through the use of Arc.
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (57.42%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #11 +/- ##
=======================================
Coverage ? 56.07%
=======================================
Files ? 30
Lines ? 8836
Branches ? 0
=======================================
Hits ? 4955
Misses ? 3881
Partials ? 0
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #11 will create unknown performance changesComparing Summary
|
Description
Fixes # (issue)
Type of Change
How Has This Been Tested?
cargo testTest Configuration:
Checklist
cargo fmtto format my codecargo clippy -- -D warningsand addressed all issuesScreenshots / Terminal Output
Screenshots
Terminal Output
Performance Impact
Breaking Changes
Additional Context
Related Issues / PRs
Reviewer Notes
For Maintainers