18 ms·
Zig has no type info at runtime so this is and always will be guaranteed to be a comptime check.
by dpatterbee 1y ago
Zig has no type info at runtime so this is and always will be guaranteed to be a comptime check.
- Zambyte 1y agoHence the paranoia :-D But I do think adding explicit `comptime` in places like this is reasonable for the sake of conveying intent to other programmers.