[Issue 11531] For a faster std.algorithm.group on strings

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 27 17:28:04 PST 2017


https://issues.dlang.org/show_bug.cgi?id=11531

--- Comment #3 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to Stefan Koch from comment #2)
> Jack, I do not see anything of the kind.
> The performance difference is within 2% and will within fluctuations being
> caused by the gc.

Hmm dmd does not show this performance problem but ldc does

$ dmd -O -inline -release test.d && ./test
original    5 secs, 355 ms, 103 μs, and 7 hnsecs
new        5 secs, 70 ms, 858 μs, and 6 hnsecs

$ ldc2 -O5 -release test.d && ./test
original    576 ms, 524 μs, and 6 hnsecs
new        992 ms, 676 μs, and 6 hnsecs

Odd.

--


More information about the Digitalmars-d-bugs mailing list