4 ms·
because it's trivial, it's like assigning a value to an integer, it shouldn't require a package
by Shadonototra 5y ago
because it's trivial, it's like assigning a value to an integer, it shouldn't require a package
- messe 5y agoDepending on your perspective, it's not trivial. It's significantly more expensive than assigning a value to an integer. Zeroing a [4096]u64 would require several thousand times more operations than zeroing a u64. In the areas that zig targets, this can be quite important.
- Shadonototra 5y agoi disagree, it's just backward to need to import a package