Choosing a Zero‑Cost Generic Vector in Zig Using Compile‑Time Parameters
A decision guide for selecting a zero‑cost generic vector in Zig, comparing comptime struct fields, anytype parameters, and opaque erasure, with a concrete implementation and verification steps.