[squeak-dev] The Inbox: Collections-nice.807.mcz
Bert Freudenberg
bert at freudenbergs.de
Sun Sep 16 01:35:52 UTC 2018
On Sat, Sep 15, 2018 at 4:58 PM Levente Uzonyi <leves at caesar.elte.hu> wrote:
> Hi Eliot,
>
> Here is a very simple test case:
>
> {
> [ 1 to: 500000000 do: [ :i | i = 1 ifTrue: [ true ] ifFalse: [
> false ] ] ] timeToRun.
> [ 1 to: 500000000 do: [ :i | i = 1 ] ] timeToRun.
> }
>
> On my machine it gives #(992 1436).
>
Huh, interesting.
Eliot, if you figure this out, please let us know what it was ...
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180915/297676f6/attachment.html>
More information about the Squeak-dev
mailing list
|