Skip to content

Add CAR (Clock with Adaptive Replacement) policy documentation and im…#16

Merged
TKorr merged 5 commits intomainfrom
add-car-policy
Feb 15, 2026
Merged

Add CAR (Clock with Adaptive Replacement) policy documentation and im…#16
TKorr merged 5 commits intomainfrom
add-car-policy

Conversation

@TKorr
Copy link
Contributor

@TKorr TKorr commented Feb 15, 2026

…plementation

  • Introduced the CAR policy, combining ARC-like adaptivity with Clock mechanics to enhance concurrency and reduce overhead.
  • Added detailed documentation outlining the architecture, key operations, performance trade-offs, and example usage.
  • Updated the policy README to include CAR, highlighting its benefits and when to use it.
  • Removed outdated CAR roadmap documentation to streamline policy references.

Description

Related Issue

Fixes #

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📝 Documentation update
  • 🔧 Refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test addition or modification

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual testing

Test environment:

  • OS:
  • Rust version:

Checklist

  • My code follows the project's coding standards
  • I have run cargo fmt and cargo clippy
  • I have added tests for my changes
  • All new and existing tests pass (cargo test)
  • I have updated the documentation as needed
  • I have added an entry to CHANGELOG.md (if applicable)

Screenshots (if applicable)

Additional Notes

…plementation

- Introduced the CAR policy, combining ARC-like adaptivity with Clock mechanics to enhance concurrency and reduce overhead.
- Added detailed documentation outlining the architecture, key operations, performance trade-offs, and example usage.
- Updated the policy README to include CAR, highlighting its benefits and when to use it.
- Removed outdated CAR roadmap documentation to streamline policy references.
@TKorr TKorr self-assigned this Feb 15, 2026
TKorr and others added 4 commits February 15, 2026 15:19
- Introduced the `policy-car` feature flag in `Cargo.toml` to enable the new CAR (Clock with Adaptive Replacement) eviction policy.
- Updated the `policy-all` list to include `policy-car`, ensuring it is available for modular builds.
- This change enhances the flexibility of the library by allowing users to selectively enable the CAR policy based on their workload requirements.
- Corrected the feature flag name from `policy-card` to `policy-car` in the `mod.rs` file to ensure consistency with the previously introduced CAR eviction policy.
- This change aligns the module declaration with the intended feature flag, enhancing clarity and preventing potential build issues.
@TKorr TKorr merged commit 53150da into main Feb 15, 2026
8 checks passed
@TKorr TKorr deleted the add-car-policy branch February 15, 2026 17:41
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