mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 12:57:54 +00:00
check for array conversion to intersectbitmapbitmap
This commit is contained in:
parent
1db1ce63b7
commit
1736a40b74
1 changed files with 3 additions and 0 deletions
|
|
@ -2122,6 +2122,9 @@ func intersectBitmapBitmap(a, b *container) *container {
|
|||
output.n += int(popcount(v))
|
||||
|
||||
}
|
||||
if output.n < ArrayMaxSize {
|
||||
output.bitmapToArray()
|
||||
}
|
||||
return output
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue