2 ms·
That's how the constant is provided - through compile time evaluation.
by WalterBright 1y ago
That's how the constant is provided - through compile time evaluation.
- jhgb 1y agoYes, but compile-time evaluation in Zig doesn't require the "comptime" keyword. Only specific cases such as compile-time type computation do (but these specific cases are not provided by compile-time function evaluation in D anyway, so language choice wouldn't make a difference here).