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

perf: batch id prefix for batchradius #4235

Merged
merged 8 commits into from
Jul 31, 2023
Merged

Conversation

aloknerurkar
Copy link
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

So this optimization was reverted mainly because we did not find any major improvement. But seems like this becomes more important as the radius goes higher. On the mainnet we are at radius 8, so we would have 100s of empty iterations which will waste a lot of time. So we will introduce this change again.

@aloknerurkar aloknerurkar marked this pull request as ready for review July 31, 2023 10:45
pkg/storer/internal/reserve/items.go Outdated Show resolved Hide resolved
@aloknerurkar aloknerurkar merged commit b3521b1 into evict-worker-opt Jul 31, 2023
13 checks passed
@aloknerurkar aloknerurkar deleted the batchradius branch July 31, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants