-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assotiative cache implementation #71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but need to be polished
@mmamayka Pls, have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! But unit tests need to be added. At least one dummy unit test that checks, the Cache
class can be properly instantiated, cache entry can be added and found after. Also, I propose to check a cache replacement correctness by adding N elements with same hash to the cache, where N >= Sets, and looking for them.
@mmamayka pls, have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivan-egorov42 LGTM! please just solve the edit above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivan-egorov42 Nice
@ivan-egorov42 the puzzle #77 is still not solved. |
Tests will be added soon. Pls, have a look @mmamayka