layout 0.2.0

Optimized memory layout using struct of array, Data-oriented design in Rust, DOD SOA
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Changelog

## 0.2.0 - 2026-08-20

### Breaking

- `BitPack` now requires `const BITS: u32`, the store's lane width. Only
  affects out-of-crate implementors; `PackedArray` supplies it.

### Fixed

- `CompactVec::drain` and `splice` silently did nothing for an inclusive end
  of `usize::MAX`, instead of panicking like `Vec`.
- A `CompactRepr` impl whose `BITS` disagrees with its `Storage` lane width is
  now rejected at compile time instead of addressing the wrong bits.