foyer-rs / foyer

Hybrid in-memory and disk cache in Rust
https://foyer.rs
Apache License 2.0
291 stars 20 forks source link

perf: introduce size hint for storage key and value #695

Closed MrCroxx closed 1 month ago

MrCroxx commented 1 month ago

What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

As title.

Checklist

Related issues or PRs (optional)

close #694

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
foyer-common/src/code.rs 100.00% <100.00%> (ø)
foyer-storage/src/serde.rs 100.00% <100.00%> (ø)
foyer-storage/src/store.rs 74.79% <100.00%> (+0.34%) :arrow_up:

... and 1 file with indirect coverage changes