public static RoaringBitmap bitmapOfUnordered ( final int ... data ) { RoaringBitmapWriter < RoaringBitmap > writer = writer ( ) . constantMemory ( ) . doPartialRadixSort ( ) . get ( ) ; writer . addMany ( data ) ; writer . flush ( ) ; return writer . getUnderlying ( ) ; }
Efficiently builds a RoaringBitmap from unordered data