DMD is faster than LDC and GDC

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 12 05:02:22 PST 2015


V Thu, 12 Nov 2015 13:37:28 +0100
Iain Buclaw via Digitalmars-d <digitalmars-d at puremagic.com> napsáno:

> On 12 November 2015 at 12:59, Daniel Kozak via Digitalmars-d <
> digitalmars-d at puremagic.com> wrote:
> 
> > code:
> >
> >
> <snip>
> 
> 
> >
> > GDC (-O3 -finline -frelease -fno-bounds-check):
> > real    0m0.724s
> > user    0m0.720s
> > sys     0m0.003s
> >
> >
> Not to be pedantic, but -finline does nothing (what you really want is
> -finline-functions)
> 
> However.... -finline-functions is enabled automatically at -O3, so the
> whole -finline just becomes wasted typing.  :-)

Yeah I know, but it is a bad habit from past



More information about the Digitalmars-d mailing list