Clear resets the Bitmap to be logically empty, but may retain some memory allocations that may speed up future operations
()
| 210 | // Clear resets the Bitmap to be logically empty, but may retain |
| 211 | // some memory allocations that may speed up future operations |
| 212 | func (rb *Bitmap) Clear() { |
| 213 | rb.highlowcontainer.clear() |
| 214 | } |
| 215 | |
| 216 | // ToArray creates a new slice containing all of the integers stored in the Bitmap in sorted order |
| 217 | func (rb *Bitmap) ToArray() []uint64 { |