v0.1.2
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
endMigration: No code changes needed for typical usage. Only affects code explicitly type-checking for SubArray.
What's Changed
Full Changelog: v0.1.1...v0.1.2