Combine Coroutines and Input Ranges for Dead-Simple D Iteration

Rory McGuire rjmcguire at gmail.com
Wed May 2 01:33:38 PDT 2012


On Wed, May 2, 2012 at 9:38 AM, jerro <a at a.com> wrote:

> What compiler options is that with?
>>
>
> I used DMD and compiler flags -O -inline -release on x86_64 linux.
>
>
It may be slow relative to incrementing a integer:

65 seconds without any command line options.
54 seconds with  -O -inline -release.

vs:

3.2 seconds dmd without any command line options.
2.2 seconds with dmd -O -inline -release.

And that is for 1000_000_000 Fiber context switches.
intel 2600K @ 4.5GHz, gnu/linux, ubuntu 12.04.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20120502/746cf9bd/attachment.html>


More information about the Digitalmars-d-announce mailing list