addAll

fun addAll(ordinals: IntRange)

Adds every ordinal in ordinals.

A block the range covers but the bitmap does not yet have is created as a single run, which is why Bitmap.ofRange(0..10_000_000) costs 153 blocks of four bytes each rather than 153 bitsets. A block that already exists takes the range into whatever encoding it is in.