4

It is curious that Windows seems to like calling into ReadFile directly, thus by...

 2 years ago
source link: https://twitter.com/BruceDawson0xB/status/1400149543862214656
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Replying to
It is curious that Windows seems to like calling into ReadFile directly, thus bypassing all of the caching that read() or fread() would offer. ReadFile will, in these cases, read from the OS cache, but the calls are not cheap. Here's another example:

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK