fix comment

This commit is contained in:
Richard Artoul 2018-11-29 16:31:23 -05:00
parent feb19c62b9
commit 56b3d7d5db

View file

@ -413,9 +413,9 @@ func (b *Bitmap) UnionInPlace(others ...*Bitmap) {
b.unionIntoTarget(b, others...)
}
// unionIntoTarget stores the union of b and other into target. b and other will
// be left unchanged, but target will be modified in place. Used to share
// the union logic between the copy-on-write and in-place functions.
// unionIntoTarget stores the union of b and others into target. b and others will
// be left unchanged (unless one of them is also target), but target will be modified
// in place.
//
// This function performs an n-way union of n bitmaps. It performs this in an
// optimized manner looping through all the bitmaps and performing unions one