std.file or stream
Christopher Wright
dhasenan at gmail.com
Fri Nov 23 16:12:40 PST 2007
Kar wrote:
> Im trying to index a very large document collections. I need to know which file access method is faster, either std.file read all data into buffer or use stream.
>
> i didnt understand stream very well, does it store file strings in memory or just a pointer to exact disc location.
>
> The index file could be more than 10GBs, so which method is better.
std.mmfile for the win.
Try the higher-level interface in std.stream.MmFileStream.
More information about the Digitalmars-d
mailing list