Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: How do FILE_FLAG_SEQUENTIAL_SCAN and FILE_FLAG_RANDOM_ACCESS affect how the operating system treats my file?

$
0
0

If I interpret this article correctly *not* passing any flags should generally yield best results, because the "linear hopping" case is only available that way. So unless you are absolutely sure you have sequential (or random) access not passing any parameter only has a slight performance penalty at the beginning plus the benefit of getting best results even when your program behaves differently than your expectations.


Viewing all articles
Browse latest Browse all 24428

Trending Articles