-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@btime not printing as expected in a loop in Atom #184
Comments
I'm having the same issue and it would be great to get some insight on this. |
Works fine for me: julia> for i in 1:3
print(i, ": ")
@btime $(Symbol(:func, i))($(Ref(12345))[])
end
1: 1.214 ns (0 allocations: 0 bytes)
2: 1.017 ns (0 allocations: 0 bytes)
3: 1.058 ns (0 allocations: 0 bytes) |
This looks like a common bug when running in Atom. Often when I print to the terminal, the first print is ignored. I therefore add a print("") if I am trying to align something. |
gdalle
changed the title
@btime not printing as expected in a loop
@btime not printing as expected in a loop in Atom
Jun 13, 2023
Closing this since Atom has been deprecated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I'm comparing different versions of a function I like to do something like
I'd expect this to print something like
but I get
What's going on?
The text was updated successfully, but these errors were encountered: