Skip to content

Commit

Permalink
inline bitmap value_merger
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Oct 20, 2024
1 parent afcfb41 commit e8726dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/util/data/value_merger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ type ValueMerger struct {
var _ pebble.ValueMerger = (*ValueMerger)(nil)

func (va *ValueMerger) MergeNewer(value []byte) error {
va.ra = roaring.Or(va.ra, roaring.FromBuffer(value))
va.ra.Or(roaring.FromBuffer(value))
return nil
}

func (va *ValueMerger) MergeOlder(value []byte) error {
va.ra = roaring.Or(va.ra, roaring.FromBuffer(value))
va.ra.Or(roaring.FromBuffer(value))
return nil
}

Expand Down

0 comments on commit e8726dd

Please sign in to comment.