[Issue 8219] File.writeln is slow
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 11 09:35:09 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8219
Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |verylonglogin.reg at gmail.com
--- Comment #1 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-09-11 20:35:29 MSD ---
Looks like Marco Righele was the first with this issue:
http://forum.dlang.org/thread/mailman.257.1281550251.13841.digitalmars-d@puremagic.com
Fix added to
https://github.com/D-Programming-Language/phobos/pull/778
>From commit message:
There is absolutely no need to explicitly flush a stream on new line because it
is expected only for console output which is line buffered or unbuffered by
default.
P.S.
I have no idea how such performance killer was added but with a fix of this
issue we will finally get non-“considered out-dated” file IO suitable for
simple programs with text output.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list