Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 31 Jan 18:33
· 70 commits to master since this release

What's New

⚠️ Breaking: Unified Bit Type API

acquire!(pool, Bit, n) now returns BitVector instead of SubArray{Bool}.

Why: Native BitVector utilizes SIMD-optimized chunk algorithms, making operations like count(), sum(), and bitwise broadcasting 10×–100× faster compared to SubArray{Bool} views.

# Before (v0.1.1): Returned SubArray{Bool}
# After  (v0.1.2): Returns native BitVector (SIMD optimized)

@with_pool pool function foo()
    bv = acquire!(pool, Bit, 10_000)

    # Operations using packed bits are significantly faster
    c = count(bv)  # 10x~100x speedup vs view behavior
end

Migration: No code changes needed for typical usage. Only affects code explicitly type-checking for SubArray.

What's Changed

  • ⚠️ (refac): return BitVector for performance by @mgyoo86 in #15

Full Changelog: v0.1.1...v0.1.2