[Issue 11791] std.file.write failed to write huge files
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Mar 23 10:46:17 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=11791
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |dmitry.olsh at gmail.com
Resolution|INVALID |---
--- Comment #7 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
> If you want to write more you must use a stream and write several buffers or use append(). std.stdio.File works because it doesn't bulk-write.
Personally std.file could just write huge memory chunks in multiple write
calls. There is no requirement for it to be single syscall.
--
More information about the Digitalmars-d-bugs
mailing list