mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 23:51:03 +00:00
dont keep n in sync with bitmaprun in place
This commit is contained in:
parent
b47292aa26
commit
eb5ad7bf49
1 changed files with 1 additions and 4 deletions
|
|
@ -2703,10 +2703,7 @@ func unionArrayBitmap(a, b *Container) *Container {
|
|||
// of a will need to be repaired after the fact.
|
||||
func unionBitmapArrayInPlace(a, b *Container) {
|
||||
for _, v := range b.array {
|
||||
if !a.bitmapContains(v) {
|
||||
a.bitmap[v/64] |= (1 << uint64(v%64))
|
||||
a.n++
|
||||
}
|
||||
a.bitmap[v/64] |= (1 << uint64(v%64))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue