From 5ddeb0f6a07a92f009c8ef1d8bef1fd177d90744 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 29 Nov 2018 16:40:21 -0500 Subject: [PATCH] refactor comment for clarity --- roaring/roaring.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index 2bbe19feb..04f6bed69 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -513,8 +513,9 @@ func (b *Bitmap) unionIntoTargetSingle(target *Bitmap, other *Bitmap) { // outer loop over again and the process repeats until we've iterated through every container in every bitmap // and unioned everything into a single target bitmap. // -// The diagram below shows the iteration state of four different maps as the algorithm progresses. The diagrams should be -// interpreted from left -> right, top -> bottom. The ^ symbol represents the bitmaps current container iteration position, +// The diagram below shows the iteration state of four different bitmaps as the algorithm progresses them. +// The diagrams should BE interpreted from left -> right, top -> bottom. The X's represent a container in +// the bitmap at a specific key, ^ symbol represents the bitmaps current container iteration position, // and the - symbol represents a container that is at the current iteration position, but has been marked as "handled". // // ---------------------------- | ---------------------------- | ----------------------------