Skip to content
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

atom GUI hangs when showing large inline result #54

Closed
jamesdanged opened this issue Oct 17, 2015 · 2 comments
Closed

atom GUI hangs when showing large inline result #54

jamesdanged opened this issue Oct 17, 2015 · 2 comments
Labels

Comments

@jamesdanged
Copy link

Great work so far on Atom Juno! I've been trying to switch over to it from LightTable, but there is one issue that's been stopping me. When a large dictionary/vector is returned as an inline result, the GUI takes a very long time to load it. Perhaps there needs to be some sort of truncation.

d = Dict()
for i = 1:10000   # 100000 will really stall
  d[i] = i
end
d      # looping the dict is fast, but getting the inline result is much slower

# also hangs with a vector
v = Array(Int, 0)
for i = 1:20000
  push!(v, i)
end
v    # this line will take about 12 seconds to run
@pfitzseb
Copy link
Member

Yeah, this partly is #40, and should therefore be resolved for vectors if you are on atom-julia-client master.

Still, smarter printing of large types should really be adressed.

@pfitzseb
Copy link
Member

The problems mentioned here have been fixed, but the overall not-so-nice handling of large inline results is still a problem. I'm gonna close this in favour of #12 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants