(sa roaringArray, startingindex, end int)
| 174 | } |
| 175 | |
| 176 | func (ra *roaringArray) appendCopyMany(sa roaringArray, startingindex, end int) { |
| 177 | for i := startingindex; i < end; i++ { |
| 178 | ra.appendCopy(sa, i) |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | func (ra *roaringArray) appendCopiesUntil(sa roaringArray, stoppingKey uint16) { |
| 183 | // cow only if the two request it, or if we already have a lightweight copy |