Skip to content

Conversation

coszio
Copy link
Contributor

@coszio coszio commented Aug 5, 2025

Builds on top of #6954

Same approach implemented in #6954, but for bool index. Since bool index also used unbuffered updates, this PR switches their flags component to leverage BufferedDynamicFlags.

@coszio coszio requested review from timvisee and generall August 5, 2025 00:49
@timvisee timvisee added the next patch Include this in the next patch release label Aug 5, 2025
@timvisee timvisee force-pushed the use-mutable-null-index branch 2 times, most recently from eaf5712 to 1ba3a6a Compare August 5, 2025 14:41
Base automatically changed from use-mutable-null-index to dev August 5, 2025 15:04
@coszio coszio force-pushed the mutable-bool-index branch from d77e511 to 3b79a7c Compare August 5, 2025 15:30

This comment was marked as resolved.

Copy link
Member

@timvisee timvisee left a comment

Choose a reason for hiding this comment

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

✔️

coderabbitai[bot]

This comment was marked as resolved.

@agourlay
Copy link
Member

agourlay commented Aug 6, 2025

Did we benchmark this change with bfb for a sanity check?

@coszio
Copy link
Contributor Author

coszio commented Aug 6, 2025

@agourlay @timvisee

Just benchmarked it on boolean_filtering bench, and I'd say result is same within noise. This is vs dev

boolean-query-points/binary-index
                        time:   [1.4627 ms 1.4669 ms 1.4729 ms]
                        change: [−4.7812% −3.7910% −2.9575%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  3 (3.00%) high mild
  2 (2.00%) high severe

@coszio coszio merged commit 6ca5068 into dev Aug 6, 2025
16 checks passed
@coszio coszio deleted the mutable-bool-index branch August 6, 2025 14:10
timvisee added a commit that referenced this pull request Aug 11, 2025
* use buffered dynamic flags in bool index

* put base_dir out of Storage

* Adjust populate comment

---------

Co-authored-by: timvisee <tim@visee.me>
@timvisee timvisee mentioned this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next patch Include this in the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants