Skip to content

Commit e19594e

Browse files
committed
refactor: update SLRU cache documentation and improve capacity handling
Revised the documentation for `SlruCore` to clarify the removal policy and enhance method descriptions, including the addition of a `peek` method for non-promoting access to cache entries. Updated the capacity handling by renaming `protected_cap` to `capacity` for consistency and clarity. This change aims to improve understanding and usability of the SLRU cache policy while aligning with Rust API guidelines.
1 parent 3561d72 commit e19594e

1 file changed

Lines changed: 576 additions & 69 deletions

File tree

0 commit comments

Comments
 (0)