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

Remove bulk insert and allow inserting equal versions #48

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

gsserge
Copy link
Contributor

@gsserge gsserge commented Oct 2, 2024

Relax little bit the versioned guarantees of Tree::insert by allowing values with the versions equal to the root. This allows us to remove Tree::bulk_insert, because now the normal Tree::insert can be used in the most common path in SurrealKV when writing committed entries.

Tested with SurrealKV and SurrealDB.

@gsserge gsserge requested a review from arriqaaq October 2, 2024 12:23
Cargo.toml Outdated Show resolved Hide resolved
src/art.rs Show resolved Hide resolved
@gsserge gsserge merged commit 853e0c5 into main Oct 2, 2024
1 check passed
@gsserge gsserge deleted the remove_bulk_insert branch October 2, 2024 13:35
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