6 "github.com/RoaringBitmap/roaring"
9 func BenchmarkUndirtiedChunksIter(b *testing.B) {
10 var bitmap roaring.Bitmap
11 a := undirtiedChunksIter{
12 TorrentDirtyChunks: &bitmap,
13 StartRequestIndex: 69,
17 for i := 0; i < b.N; i++ {
18 a.Iter(func(chunkIndex chunkIndexType) {