Skip to content

Improve immutable map index performance: sort point IDs, binary search and shift on delete - #5070

Closed
timvisee wants to merge 2 commits into
devfrom
immutable-map-index-performance
Closed

timvisee wants to merge 2 commits into
devfrom
immutable-map-index-performance

Conversation

@timvisee

@timvisee timvisee commented Sep 12, 2024 •

Copy link
Copy Markdown
Member

Alternative to: #5072

See #5072 for details.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --all --all-features command?

@timvisee timvisee changed the title Improve immutable map index performance: sort point IDs and binary search Improve immutable map index performance: sort point IDs, binary search and shift on delete Sep 12, 2024
@timvisee
timvisee marked this pull request as ready for review September 12, 2024 18:30
@timvisee

Copy link
Copy Markdown
Member Author

Drafting this one because #5072 is probably better.

It is two times faster and uses deleted flags like we do in other cases. The vacuum optimizer will take care of having a lot of delete flags set.

@timvisee
timvisee marked this pull request as draft September 13, 2024 08:03
@timvisee

Copy link
Copy Markdown
Member Author

Superseded by #5072

@timvisee timvisee closed this Sep 17, 2024
@generall
generall deleted the immutable-map-index-performance branch May 30, 2026 21:25
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.

1 participant