Skip to content

Conversation

@connortsui20
Copy link
Member

This PR changes the signature of the Evict method on the LRU-K replacer to use a std::optional return type containing the frame instead of writing it into a pointer.

@connortsui20
Copy link
Member Author

connortsui20 commented Aug 28, 2024

I'll fix the test cases soon (hopefully)

Edit: Done

Copy link
Member

@xx01cyx xx01cyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@connortsui20 connortsui20 merged commit 7311a5d into master Aug 29, 2024
@connortsui20 connortsui20 deleted the optional-eviction branch August 29, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants