Replacement of std.stream
Jesse Phillips via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 20 12:46:22 PDT 2015
On Sunday, 19 July 2015 at 17:34:27 UTC, Charles Hixson wrote:
> The documentation of std.mmfile.MmFile makes it an unacceptable
> replacement for std.stream. I can't even tell if it's features
> are missing, or just unintelligible. It rather looks as if you
> need to have enough RAM to hold the entire file in memory at
> once, but I'm not even sure of that.
Documentation improvements are certainly welcome. However, it is
just a wrapper over the posix functionality for memory mapped
files: https://en.wikipedia.org/wiki/Mmap
No need to store the whole file into RAM, the OS will manage
paging for you.
More information about the Digitalmars-d-learn
mailing list