Skip to content

Commit

Permalink
Remove leftover debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Patel committed Jul 29, 2023
1 parent 8a489f3 commit f6329d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/bitring/bitring.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
package bitring

import (
"fmt"
"math/bits"
"sync/atomic"
)
Expand Down Expand Up @@ -64,7 +63,6 @@ func (r *BitRing) Insert(n uint64) (exist, ok bool) {
if atomic.CompareAndSwapUint64(&r.v[idx/64], vOld, vNew) {
break
}
fmt.Println("CAS failed")
}
return (vOld & (1 << (idx % 64))) != 0, true
}

0 comments on commit f6329d0

Please sign in to comment.