2015.01.01 20:24 "Re: [Tiff] Fast TIFF Reading on Windows", by Aaron Boxer

2015.01.03 05:24 "Re: [Tiff] Fast TIFF Reading on Windows", by Edward Lam

On Thu, January 1, 2015 15:20, Aaron Boxer wrote:

Thanks. Yes, my use case is: first-read of many 10-15 MB RGB uncompressed files. Unfortunately, I don't have control over how the files are stored, i.e. block size. One nice feature on Linux is fadvise, where I can specify FADV_SEQUENTIAL | FADV_DONTNEED, which would be right for my use case.

On Windows, the CreateFile() API has additional flags that you may wish to explore like FILE_FLAG_SEQUENTIAL_SCAN and/or FILE_FLAG_NO_BUFFERING

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858%28v=vs.85%29.aspx#caching_behavior

Cheers,

-Edward