2 ms·
Another nice thing in julia is that if you dont want the optimizer to delete something, you can just ask it nicely :) julia> function f(n) to
by eigenspace 11mo ago
Another nice thing in julia is that if you dont want the optimizer to delete something,
you can just ask it nicely :)
julia> function f(n)
total = 0
for x in 1:n
total += Base.donotdelete(x)
end
return total
end
will keep the loop