mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
removed String method upon discovery of %v
This commit is contained in:
parent
879e02de81
commit
ba2b8cd5b1
1 changed files with 0 additions and 12 deletions
|
|
@ -209,18 +209,6 @@ func (b *Bitmap) CountRange(start, end uint64) (n uint64) {
|
|||
return n
|
||||
}
|
||||
|
||||
// Stringify method for debugging.
|
||||
func (b *Bitmap) String() string {
|
||||
var buffer bytes.Buffer
|
||||
for i, v := range b.Slice() {
|
||||
if i > 0 {
|
||||
buffer.WriteString(" ")
|
||||
}
|
||||
buffer.WriteString(fmt.Sprintf("%d", v))
|
||||
}
|
||||
return buffer.String()
|
||||
}
|
||||
|
||||
// Slice returns a slice of all integers in the bitmap.
|
||||
func (b *Bitmap) Slice() []uint64 {
|
||||
var a []uint64
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue