Skip to content

Commit f63e187

Browse files
committed
Remove logging.
1 parent a359f1a commit f63e187

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

augmentedtree/atree.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ limitations under the License.
1616

1717
package augmentedtree
1818

19-
import (
20-
"log"
21-
"math"
22-
)
19+
import "math"
2320

2421
func intervalOverlaps(n *node, low, high int64, interval Interval, maxDimension uint64) bool {
2522
if !overlaps(n.high, high, n.low, low) {
@@ -334,7 +331,6 @@ func (tree *tree) Insert(dimension uint64,
334331
modified, deleted := intervalsPool.Get().(Intervals), intervalsPool.Get().(Intervals)
335332

336333
tree.root.query(math.MinInt64, math.MaxInt64, nil, tree.maxDimension, func(n *node) {
337-
log.Printf(`N: %+v`, n)
338334
if dimension > 1 {
339335
action := insertInterval(dimension, n.interval, index, count)
340336
switch action {
@@ -368,8 +364,6 @@ func (tree *tree) Insert(dimension uint64,
368364
}
369365
}
370366

371-
log.Printf(`N before check: %+v`, n)
372-
373367
//mod := false
374368
if n.high > index {
375369
n.high += count

0 commit comments

Comments
 (0)