We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84c242d + cdb209e commit fc14622Copy full SHA for fc14622
runcontainer.go
@@ -2464,12 +2464,8 @@ func (rc *runContainer16) toBitmapContainer() *bitmapContainer {
2464
}
2465
2466
func (rc *runContainer16) iandNotRunContainer16(x2 *runContainer16) container {
2467
- rcb := rc.toBitmapContainer()
2468
- x2b := x2.toBitmapContainer()
2469
- rcb.iandNotBitmapSurely(x2b)
2470
// TODO: check size and optimize the return value
2471
- // TODO: is inplace modification really required? If not, elide the copy.
2472
- rc2 := newRunContainer16FromBitmapContainer(rcb)
+ rc2 := rc.AndNotRunContainer16(x2)
2473
*rc = *rc2
2474
return rc
2475
0 commit comments