|
Prev: Calling inherited protected method fails to compile
Next: Performance issue: Writing multiple files vs single file using fopen/fwrite
From: Alex Blekhman on 15 May 2008 04:12 "Rahul" wrote: > Is there any way to make make multiple file write as efficient > as single file write. By explicitly caching some directory > structure or something?? You can try asynchronous I/O. It will get you as much performance as the system is able to provide. However, you won't be able to use CRT functions for that. You need Win32 API calls to utilize asynchronous I/O. Also, it might require a redesign of the writing logic. More info here: "Synchronous and Asynchronous I/O" http://msdn2.microsoft.com/en-us/library/aa365683(VS.85).aspx HTH Alex |