Skip to content
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

fix lru hash map #88

Closed
wants to merge 10 commits into from
Closed

fix lru hash map #88

wants to merge 10 commits into from

Conversation

eladmarg
Copy link
Contributor

@eladmarg eladmarg commented Feb 8, 2015

No description provided.

@synhershko
Copy link
Contributor

What is this fix about?

Also, have you implemented an LRU cache from scratch? any reason why you didn't use other implementations such as http://www.codeproject.com/Articles/23396/A-High-Performance-Multi-Threaded-LRU-Cache ?

@eladmarg
Copy link
Contributor Author

eladmarg commented Feb 9, 2015

my previous implementation was wrong, this is not implemented from scratch, and its working.
(tests are passing)

@laimis
Copy link
Contributor

laimis commented Feb 9, 2015

@eladmarg can you point us to the tests that are being fixed by this PR?

@laimis
Copy link
Contributor

laimis commented Feb 9, 2015

I see one test in the PR request, but the comment referenced plural tests so want to make sure we look at them all.

@eladmarg
Copy link
Contributor Author

eladmarg commented Feb 9, 2015

currently only TestHashMap

@synhershko
Copy link
Contributor

To be frank my main concern is with the actual implementation - the Java version is relying on a JVM implementation, and if we are to write our own we should at least try and get other proven ones

@eladmarg
Copy link
Contributor Author

eladmarg commented Feb 9, 2015

Itamar, this is proved one,
Taken from here: https://gist.github.com/nakhli/6686251

the previous was mine implementation, and it was wrong.

@eladmarg
Copy link
Contributor Author

can it be merged?

@synhershko
Copy link
Contributor

I want to review this properly and see what our options are for trusted LRU implementations, not going to merge for now until we get it right for sure.

@eladmarg eladmarg closed this Sep 27, 2016
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.

None yet

3 participants