[Issue 9646] std.algorithm.splitter for strings has opportunities for improvement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 30 01:16:31 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #5 from Seb <greensunny12 at gmail.com> ---
New numbers:

DMD (2.079.0):

std.algorithm.splitter took 2 secs, 736 ms, 348 μs, and 3 hnsecs
MySplitter took 3 secs, 176 ms, 18 μs, and 9 hnsecs

LDC (1.8.0):

>  ldc -O4 -mcpu=native -release -flto=full

std.algorithm.splitter took 1 sec, 954 ms, 444 μs, and 9 hnsecs
MySplitter took 1 sec, 635 ms, 394 μs, and 8 hnsecs

So I there's still an opportunity for improvement with LDC.

--


More information about the Digitalmars-d-bugs mailing list