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

Replace hashmap for io_uring pending ops with static array #922

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

PThorpe92
Copy link
Contributor

Since we are already round robin'ing our iovecs in the same way, and the map will never be larger than MAX_IOVECS, we can remove the cost of hashing and keep o(1) lookups.

@seonWKim
Copy link
Contributor

seonWKim commented Feb 7, 2025

damn smart 👍 👍

@penberg penberg merged commit 71d2a9b into tursodatabase:main Feb 8, 2025
27 checks passed
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.

3 participants