[Issue 14256] Poor IO performance on 64-bit dmd 2.066 (OS X)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 25 04:21:14 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=14256
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dlang-bugzilla at thecybershad
| |ow.net
Resolution|--- |WORKSFORME
--- Comment #10 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
>From a cursory benchmark, the D programs perform as well as or better than the
Python version for me, except for the splitLines version.
Note that splitLines also splits by Unicode line delimiters, not just \r and
\n, which is why it's slower. Replacing splitLines(s) with split(s, '\n') makes
the program much faster.
Please reopen if you think the problem persists.
--
More information about the Digitalmars-d-bugs
mailing list