On 06/14/2017 09:12 PM, Steven Costiou wrote:
repetitions timesRepeat:[ results add: [1000000 timesRepeat:[o m]]
timeToRun].
Hi Steven,
the influence of the garbage collector is in cases like these often
somewhat difficult to forecast. i would eventually change the code to:
repetitions timesRepeat:[ Smalltalk garbageCollect. results add:
[1000000 timesRepeat:[o m]] timeToRun].
and if i wanted to see the influence of the garbage collector i would
enlarge repetitions and diminish 1000000 in such a way that the product
remains constant. of course one would not want to destroy that influence
completely as in the real world it always takes its toll.
werner