On the language level, how can I break the running program? Ctrl+. doesn’t work for instance in the following
{1000000000.do {a = if([true,false].choose, 100.0.rand.squared, 200.0.rand.squared)}}.bench
Waiting for this to finish took me:
time to run: 390.43532656 seconds.
Thanks in advance!
Hi,
you can try to quit the interpreter from the language menu. But I think the language will alsway block while it tries to execute your function as fast as possible. You somehow got what you asked for. It took my X230 74 seconds to execute this btw.
best, P
on Mac pkill sclang in a Terminal…
pkill sclang