add clarifying comment

This commit is contained in:
Seebs 2019-03-15 11:19:49 -05:00
parent 97486f410b
commit cf5f9f9a57

View file

@ -1773,6 +1773,9 @@ func (c *Container) optimize() {
}
}
// unionInPlace does not necessarily preserve container's N; it's expected
// to be used when running a sequence of unions, after which you should
// call Repair(). (As of this writing, that only matters for bitmaps.)
func (c *Container) unionInPlace(other *Container) {
switch c.containerType {
case containerBitmap: