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

trie: add batch get operation #29724

Closed
wants to merge 4 commits into from
Closed

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented May 7, 2024

WIP for now, investigating whether we could sneak some concurrency in somehow, but first the non concurrent batch versions.

return result, nil
}

// getBatch resolves a batch of trie values simultenaously.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo simultaneously

Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm

@karalabe
Copy link
Member Author

karalabe commented Jun 3, 2024

After a number of benchmarks, there's no meaningful difference in speed. I don't really want to spend much time on this and I'd wager it bitrots fast. Might as well get rid of it and maybe revisit later if there's a reason to believe it matters.

@karalabe karalabe closed this Jun 3, 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.

None yet

2 participants