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

Speed up the happy path for MapRead::get_speculative #1449

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

ljedrz
Copy link
Collaborator

@ljedrz ljedrz commented Apr 11, 2023

Since the preference for results in MapRead::get_speculative has changed, we should perform storage accesses only if the atomic write batch lookup is a miss.

This will provide us with a considerable speedup for batch hits, and cause no difference for misses.

@ljedrz ljedrz requested a review from howardwu April 11, 2023 11:18
@howardwu howardwu merged commit 6758aaf into ProvableHQ:testnet3 Oct 14, 2023
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