April 3, 2015
11:51 a.m.
Hi Gaurav :) I tried the same code snippet, but it works fine in my system. It doesn't hang. Thanks and Regards Jigyasa Grover On Fri, Apr 3, 2015 at 5:13 PM, Gaurav Singh <grvanm.coder@gmail.com> wrote:
My window freezes whenever i try to run a loop which has even 100000 iterations which are quite less for a computational device. Let say i run : [| temp | temp := String new. (1 to: 100000) do: [:i | temp := temp, i asString, ' ']] timeToRun. The time taken to compute is a few milliseconds , but the program freezes for quite a few seconds, What can be the problem ?