It takes 73 milliseconds for me on a 2.4GHz P4. What is your 'something'? I incremented a count variable.
Joshua
이춘석 wrote:
Hi all.
I tried to calculate something. For Example,
1 to: 30 do: [ :j| 1 to: 30 do: [:k| 1 to: 30 do: [ :l| 1 to: 30 do: [:m| Something :-) ] ] ] ]
Like above.
It takes 50 seconds to finish this loop. Compare to C ( 0.1 second?), I think it is too slow.
Can I speed up?
Thanks in advance.