Re:Show HN: Zig-DbC – A design by contract library for Zig
by skavi on Friday August 15, 2025 @02:28AM
(#44909219)
Why are the checks included in ReleaseSmall?
[ Parent
| on HN ]
Re:Show HN: Zig-DbC – A design by contract library for Zig
by habedi0 on Friday August 15, 2025 @03:56AM
(#44909701)
I created this library to help me verify the correctness of my Zig code in another project. However, I wanted the option to strip the checks when the code becomes more mature, for efficiency. For efficiency, I mainly care about speed, which is why checks are only compiled out in `ReleaseFast`.