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

simplify round-robin algo insertion and deletion #9440

Conversation

francoposa
Copy link
Member

What this PR does

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

chencs and others added 3 commits September 24, 2024 15:14
This subtly changes queuing order, since queuing multiple new nodes at once will push the first element to the end of the queueOrder. However, it does NOT change dequeue order (which is what we care about), since it also updates queuePosition to continue pointing to that first-enqueued element.
@francoposa francoposa requested a review from a team as a code owner September 26, 2024 20:50
Base automatically changed from casie/remove-local-queue-index to main September 26, 2024 22:34
@francoposa francoposa closed this Sep 27, 2024
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