Add - In-place sum the contents of another BSI with this BSI, column wise.
(other *BSI)
| 820 | |
| 821 | // Add - In-place sum the contents of another BSI with this BSI, column wise. |
| 822 | func (b *BSI) Add(other *BSI) { |
| 823 | |
| 824 | b.eBM.Or(other.eBM) |
| 825 | for i := 0; i < len(other.bA); i++ { |
| 826 | b.addDigit(other.bA[i], i) |
| 827 | } |
| 828 | } |
| 829 | |
| 830 | func (b *BSI) addDigit(foundSet *roaring.Bitmap, i int) { |
| 831 |