Skip to content

common/prque: reset indexOffset in LazyQueue.Reset#35357

Draft
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:common-prque-lazyqueue-reset-offset
Draft

common/prque: reset indexOffset in LazyQueue.Reset#35357
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:common-prque-lazyqueue-reset-offset

Conversation

@cuiweixie

Copy link
Copy Markdown
Contributor

Reset replaced the internal queues but left indexOffset unchanged. After an odd number of refreshes this left setIndex0/setIndex1 mapping inverted for subsequent use.

Reset replaced the internal queues but left indexOffset unchanged.
After an odd number of refreshes this left setIndex0/setIndex1 mapping
inverted for subsequent use.
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.

1 participant