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

[7.x] Correctly count number of items in LRU (#8742) #8754

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Dec 2, 2023

Backport of #8742 to 7.x

Microsoft Reviewers: Open in CodeFlow

* Updated test to reflect counting issue

* Only increment and adjust size on Add

* Updated LRU count computation logic
@ReubenBond ReubenBond merged commit 854cb41 into dotnet:7.x Dec 2, 2023
@ReubenBond ReubenBond deleted the v7/fix-lru branch December 2, 2023 00:34
ReubenBond added a commit that referenced this pull request Dec 2, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* Updated test to reflect counting issue

* Only increment and adjust size on Add

* Updated LRU count computation logic

Co-authored-by: Koen <koen@bpk.ltd>
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants