What's going on with std.experimental.lexer?

dennis luehring via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 9 22:46:51 PDT 2014


Am 09.06.2014 22:21, schrieb Brian Schott:
> On Friday, 6 June 2014 at 23:50:40 UTC, Brian Schott wrote:
>> SIMD reduces execution time by 5.15% with DMD.
>> Compiling the non-SIMD code with GDC reduces execution time by
>> 42.39%.
>>
>> So... There's that.
>
> Changing the code generator to output a set of if statements that
> implements a binary search did more-or-less nothing with the DMD
> timings, but brought GDC's lead up to 49%. (i.e. the GDC-compiled
> version executes in 51% of the time that the DMD-compiled version
> does)
>

the LLVM optimizer is also very good (sometimes far better then the gcc 
one) - what are your LDC timings?


More information about the Digitalmars-d mailing list