Zambyte
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
27 ms·
- 571.▲
- 572.▲
- 573.▲
- 574.▲
- 575.▲
- 576.▲
- 577.▲
- 578.▲
- 579.▲
- 580.▲
- 581.▲
- 582.▲
- 583.▲
- 584.▲
- 585.▲
- 586.▲
- 587.▲
- 588.▲
- 589.▲
- 590.▲
- 591.▲
- 592.▲
Regarding iteration, a simple solution without reaching for while loops is to iterate on a range and operate relative to the length. const a = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
// 2 4 6 8 10
for (a[0 .. a.len - 593.▲
- 594.▲
- 595.▲
- 596.▲
- 597.▲
- 598.▲
- 599.▲
- 600.▲
More ›