mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
remove debug code
This commit is contained in:
parent
d78e2fc87c
commit
fccc707006
1 changed files with 0 additions and 12 deletions
|
|
@ -424,15 +424,6 @@ type wrapperIter struct {
|
|||
// be left unchanged, but target will be modified in place. Used to share
|
||||
// the union logic between the copy-on-write and in-place functions.
|
||||
func (b *Bitmap) unionIntoTarget(target *Bitmap, others ...*Bitmap) {
|
||||
numArrayIntoBitmap := 0
|
||||
numRunIntoBitmap := 0
|
||||
numBitmapIntoBitmap := 0
|
||||
// defer func() {
|
||||
// fmt.Println("numArrayIntoBitmap: ", numArrayIntoBitmap)
|
||||
// fmt.Println("numRunIntoBitmap: ", numRunIntoBitmap)
|
||||
// fmt.Println("numBitmapIntoBitmap: ", numBitmapIntoBitmap)
|
||||
// }()
|
||||
|
||||
otherIters := make([]wrapperIter, 0, len(others)+1)
|
||||
bIter, _ := b.Containers.Iterator(0)
|
||||
next := bIter.Next()
|
||||
|
|
@ -537,13 +528,10 @@ func (b *Bitmap) unionIntoTarget(target *Bitmap, others ...*Bitmap) {
|
|||
|
||||
if iKey == jKey {
|
||||
if jContainer.isArray() {
|
||||
numArrayIntoBitmap++
|
||||
unionBitmapArrayInPlace(container, jContainer)
|
||||
} else if jContainer.isRun() {
|
||||
numRunIntoBitmap++
|
||||
unionBitmapRunInPlace(container, jContainer)
|
||||
} else {
|
||||
numBitmapIntoBitmap++
|
||||
unionBitmapBitmapInPlace(container, jContainer)
|
||||
}
|
||||
otherIters[j].handled = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue