Click here to Skip to main content
15,921,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: multithread Pin
Garth J Lancaster17-Jan-09 0:41
professionalGarth J Lancaster17-Jan-09 0:41 
GeneralRe: multithread Pin
RomTibi17-Jan-09 2:43
RomTibi17-Jan-09 2:43 
QuestionDisk operation performance question [modified] Pin
followait16-Jan-09 23:07
followait16-Jan-09 23:07 
AnswerRe: Disk operation performance question Pin
Iain Clarke, Warrior Programmer16-Jan-09 23:37
Iain Clarke, Warrior Programmer16-Jan-09 23:37 
GeneralRe: Disk operation performance question Pin
followait17-Jan-09 0:41
followait17-Jan-09 0:41 
AnswerRe: Disk operation performance question Pin
Stuart Dootson16-Jan-09 23:44
professionalStuart Dootson16-Jan-09 23:44 
GeneralRe: Disk operation performance question Pin
followait17-Jan-09 0:38
followait17-Jan-09 0:38 
GeneralRe: Disk operation performance question Pin
Stuart Dootson17-Jan-09 0:49
professionalStuart Dootson17-Jan-09 0:49 
followait wrote:
When not using file mapping it takes about 250s.
Otherwise, it takes about 150s.


Tells you all you need to know Smile | :)

The most I've file-mapped is ~ 1GB. But that was in a single file...on a PC with 1GB RAM. Obviously, i couldn't just map all of it at once, so I ended up writing a custom STL iterator (using the splendid Boost.Iterator[^] library) that would map parts of the file in and out (thank you, MapViewOfFile[^]) as I navigated through the file.

Worked really nicely and with little to no performance hit - I was processing that sucker with standard STL algorithms (e.g. binary_search to find a particular artefact) and it felt FAST...
QuestionAPI to close any window using c++ win32 Pin
Subrat 470826616-Jan-09 16:39
Subrat 470826616-Jan-09 16:39 
AnswerRe: API to close any window using c++ win32 Pin
«_Superman_»17-Jan-09 17:32
professional«_Superman_»17-Jan-09 17:32 
AnswerRe: API to close any window using c++ win32 Pin
Hamid_RT18-Jan-09 22:53
Hamid_RT18-Jan-09 22:53 
GeneralRe: API to close any window using c++ win32 Pin
Subrat 470826619-Jan-09 2:35
Subrat 470826619-Jan-09 2:35 
GeneralRe: API to close any window using c++ win32 Pin
Hamid_RT20-Jan-09 19:10
Hamid_RT20-Jan-09 19:10 
GeneralRe: API to close any window using c++ win32 Pin
Subrat 470826619-Jan-09 2:39
Subrat 470826619-Jan-09 2:39 
GeneralRe: API to close any window using c++ win32 Pin
Hamid_RT20-Jan-09 19:11
Hamid_RT20-Jan-09 19:11 
QuestionDate Recovery Programming Pin
xavier198816-Jan-09 14:09
xavier198816-Jan-09 14:09 
AnswerRe: Date Recovery Programming Pin
Garth J Lancaster17-Jan-09 1:06
professionalGarth J Lancaster17-Jan-09 1:06 
GeneralRe: Date Recovery Programming Pin
xavier198817-Jan-09 1:33
xavier198817-Jan-09 1:33 
QuestionDetermine When a Print Job has been Cancelled Pin
michaelerice16-Jan-09 7:41
michaelerice16-Jan-09 7:41 
QuestionCPropertyPage/CPropertySheet Issues Pin
somasundarambe16-Jan-09 7:34
somasundarambe16-Jan-09 7:34 
AnswerRe: CPropertyPage/CPropertySheet Issues Pin
KalMN28-Jan-09 5:38
KalMN28-Jan-09 5:38 
Questioncout for japanese messages Pin
NET/C++Developer16-Jan-09 3:56
NET/C++Developer16-Jan-09 3:56 
AnswerRe: cout for japanese messages Pin
Maximilien16-Jan-09 5:06
Maximilien16-Jan-09 5:06 
GeneralRe: cout for japanese messages Pin
Nemanja Trifunovic16-Jan-09 5:53
Nemanja Trifunovic16-Jan-09 5:53 
JokeRe: cout for japanese messages Pin
Rajesh R Subramanian16-Jan-09 19:35
professionalRajesh R Subramanian16-Jan-09 19:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.