Quote Originally Posted by matsp View Post
It is fairly obvious that this is much more dependant on the speed of the hard-disk and the IO transfer rate than the C runtime library.
Of course it is... maybe my hard drive is faster than I think and more % of time goes to code execution than for you?
Quote Originally Posted by matsp View Post
For VERY obvious reasons, I didn't run the original "write one byte at a time through WriteFile", as that's not sensible for this size of file.
That's amusingly stupid piece of code, lol.
Quote Originally Posted by matsp View Post
You aren't running the DEBUG version of the CRT by any chance?
No way. I even disassembled my program and it is certainly calling the correct (non-debug) CRT functions from msvcrt.dll.

I think all of this is more of a personal taste (and time). I like ultra-high performance and I like to do it in C rather than in Assembly. I hope you don't mind if I continue writing WinAPI code?