4 ms·
``` for i = 1:typemax(UInt64) s = "" if i % 3 == 0 s = s * "fizz" end if i % 5 == 0 s = s * "buzz" end if s == ""
by yodelshady 5y ago
```
for i = 1:typemax(UInt64)
s = ""
if i % 3 == 0
s = s * "fizz"
end
if i % 5 == 0
s = s * "buzz"
end
if s == ""
s = string(i)
end
println(s)
end
```
Measured over 10 s after a 10 s burn-in period, Julia 1.7 on Ubuntu 21.10.