struct

Crysda::NullBitmap

Inherits Struct / Value / Object

=========================================================================== Null Bitmap - 1 bit per element for efficient null tracking Uses UInt64 words with SIMD acceleration for bulk operations

Constants

SIMD_THRESHOLD = 4

SIMD threshold - use SIMD for bitmaps with >= this many words

Constructors

build(size : Int32, &) : NullBitmap

Build bitmap directly from parsing - avoids intermediate Array(T?)

Source
from_nullable(arr : Array) : NullBitmap
Source
new(size : Int32)
Source
none(size : Int32) : NullBitmap
Source

Instance methods

&(other : NullBitmap) : NullBitmap

Optimized AND - uses SIMD for large bitmaps

Source
[](index : Int32) : Bool
Source
|(other : NullBitmap) : NullBitmap

Optimized OR - uses SIMD for large bitmaps

Source
any?
Source
clear(index : Int32) : Nil
Source
count

Optimized count using SIMD popcount where available

Source
none?
Source
set(index : Int32) : Nil
Source
size
Source