-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
[New REPL Window] REPL window freezes when the evaluation takes a long time #128
Comments
Update: It doesn't seem to be about how long time the evaluation takes. If I wrap my run of this test in eratosthenes=> (time (str "mine: " (count (sieve-refined 1000000)) " primes"))
"Elapsed time: 7845.699169 msecs"
"mine: 78498 primes" I do get the prompt back (even running this for primes up to 1,000,000). So now I am guessing it is that the REPL Window chokes on the size of the results. |
This is exactly what happens. The whole output is processed through the |
When evaluating something that takes ”a sufficiently long time” to evaluate, the REPL window freezes. Evaluating the same thing inline works.
** REPRO **
Below is a naïve implementation of Eratosthenes Sieve. When evaluating the top-level form in that
comment
form in the REPL window (ctrl+alt+v alt+space
) forn = 1000000
on my machine the REPL window never returns with the answer and becomes totally unresponsive.Again, evaluating the same form inline (
ctrl+alt+v space
), eventually, the results will be delivered.Also, closing the REPL window and reopening it again works as a fix for getting the window back in operation.
The text was updated successfully, but these errors were encountered: