Union / Intersection

考虑 RoaringBitmap 实例 A 和 B。A、B 的逻辑运算,只可能是最高位相同的容器会存在交并集。 则只考虑同高位的容器之间的相互操作即可。

并集

交集