{
[(1 to: 100) do: [:i | i yourself]] bench.
[1 to: 100 do: [:i | i yourself]] bench.
}.
#('6935.01299740052 per second.' '44448.7102579484 per second.')
You observe a Transcript dependent behavior, not related to to:do:
2009/5/3 Stéphane Ducasse <[email protected]>:
> but nicolas this is quite strange I unset the preference
>
> and I get
> 1 to: 1000 -> 3405 ms
>
> (1 to: 1000) -> 2600 ms
>
> I'm puzzled. Should probably increase the sample....
> I redid the experience with exaclty the same setup and I get
> 26115 vs 25487 so this should be ok
>
>
> Stef
>
>
>
> On May 3, 2009, at 9:25 PM, Nicolas Cellier wrote:
>
>> I bet it's undo history again!
>>
>> reverse the order of the two tests and redo...
>> or deselect the preference for multipletextUndo.
>>
>> 2009/5/3 Stéphane Ducasse <[email protected]>:
>>>>
>>>>
>>>> but apparently
>>>> http://code.google.com/p/pharo/issues/detail?id=750
>>>> shows the contrary and this is really strange. I think that may be
>>>> this is a slow down in Transcript but...
>>>>
>>>> Stef
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project