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

Add LruSet implementation based on LruMap #279

Closed
wants to merge 5 commits into from

Conversation

stevenroose
Copy link

This implementation internally just uses a LruMap to handle the LRU algorithm.

A full implementation can be found in #280.

Fixes #278

Because the inherited last getter iterated over the complete set to find the last element. The current implementation gives the last element in constant time.
@yjbanov
Copy link
Member

yjbanov commented Jan 27, 2016

Do we get to choose between this and #280? :)

Either way, let's move all PRs for new functionality to https://github.com/QuiverDart/quiver_collection, the new home for quiver collections.

@yjbanov yjbanov closed this Apr 3, 2019
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.

2 participants