From d6e2d0768783930a140fee56d4113c611a80f495 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 29 Nov 2018 16:39:07 -0500 Subject: [PATCH] refactor comment for clarity --- roaring/roaring.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index 54af56b2c..dc80d0dcb 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -506,8 +506,8 @@ func (b *Bitmap) unionIntoTargetSingle(target *Bitmap, other *Bitmap) { // and for each container with a specific key that we encounter, we scan forward to see if any of the // other bitmaps have a container for the same key. If so, we calculate some summary statistics and // then use that information to make a decision about how to union all of the containers with the same -// key together, perform the union, and then move on to the next batch of containers that share the same -// key. +// key together, perform the union, mark the unioned containers as "handled" and then move on to the next +// batch of containers that share the same key. // // We repeat this process until every single bitmaps current container has been "handled". Then we start the // outer loop over again and the process repeats until we've iterated through every container in every bitmap