Skip to content
Snippets Groups Projects
Commit 30c5956d authored by Daniel Olsson's avatar Daniel Olsson
Browse files

Merge conflict

parents 0223c528 0ba64c42
No related branches found
No related tags found
No related merge requests found
using BenchmarkTools
using Random
using Profile
function f()
lst = rand(50000)
for i in lst
s = "List entry $(i)\r" # The \r makes it so the terminal isn't filled
if i > 0.99
s = "List entry $(i)\r"
print(s)
end
end
end
f()
......@@ -16,3 +19,7 @@ f()
x = @benchmark f()
println()
println(x)
@profile f()
Profile.print()
Profile.clear()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment