On Wed, May 26, 2010 at 11:41 AM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
but I was comparing with squeak :)
I'm on 2.53 intel core 2 duo so may be the difference is that.
Indeed that's one difference. Only the ratios matter. Different machines have different performance at different times of the day. e.g. run another performance-intensive program while you're collecting results and you've just collected some useless results.
Squeak 4.1.1beta2: #(1357 2129 1457) Cog: #(141 844 568)
(2.66 GHz Intel Core i7)
On May 26, 2010, at 7:30 PM, Dale Henrichs wrote:
Stéphane Ducasse wrote:
any idea why on pharo 1.1 | b n | b := [:aa :ab| ]. n := 10000000. { Time millisecondsToRun: [1 to: n do: [:i| b value: 0 value: 0]]. Time millisecondsToRun: [1 to: n do: [:i| b valueWithArguments: {0. 0}]]. Time millisecondsToRun: [1 to: n do: [:i| b valueWithArguments: #(0 0)]] } #(1597 2606 1696)
Presumably the Array constructor {...} is more costly than a literal Array, which makese sense.
Dale
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project