mirror of
https://github.com/ziglang/zig.git
synced 2026-03-11 21:59:52 +00:00
This is useful for saving memory when allocating an object that has many optional components. The optional objects are allocated sequentially in memory, and a single integer is used to represent each optional object and whether it is present based on each corresponding bit.