On Wed, May 2, 2012 at 9:38 AM, jerro <a...@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.