(sa roaringArray64, startingindex int)
| 38 | } |
| 39 | |
| 40 | func (ra *roaringArray64) appendWithoutCopy(sa roaringArray64, startingindex int) { |
| 41 | mustCopyOnWrite := sa.needCopyOnWrite[startingindex] |
| 42 | ra.appendContainer(sa.keys[startingindex], sa.containers[startingindex], mustCopyOnWrite) |
| 43 | } |
| 44 | |
| 45 | func (ra *roaringArray64) appendCopy(sa roaringArray64, startingindex int) { |
| 46 | // cow only if the two request it, or if we already have a lightweight copy |
no test coverage detected