[q]squeak is too slow?
Richard A. O'Keefe
ok at cs.otago.ac.nz
Wed Dec 8 02:24:39 UTC 2004
=?ks_c_5601-1987?B?wMzD4byu?= <stonecold at jupiter.kaist.ac.kr> wrote:
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 :-)
]
]
]
]
It takes 50 seconds to finish this loop.
The obvious question was "What is <Something :-)>?"
It may well be that there is a faster way to express what you want.
Just because a particular program structure is a good structure for
C, that doesn't necessarily mean it's a good structure for any other
programming language.
The magic numbers make me quite sure that there is something interesting
that you are not telling us.
More information about the Squeak-dev
mailing list
|