From 6d021fe870d815349009c82153a535518de0ff59 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 29 Nov 2018 17:45:49 -0500 Subject: [PATCH] add comment --- roaring/roaring.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roaring/roaring.go b/roaring/roaring.go index 31dd18ddf..13f0efede 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -3966,6 +3966,9 @@ func readWithRuns(b *Bitmap, data []byte, pos int, keyN uint32) { } } +// handledIter and handledIters are wrappers around Bitmap Container iterators +// and assist with the unionIntoTarget algorithm by abstracting away some tedious +// operations. type handledIter struct { iter ContainerIterator hasNext bool