Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tree Control Images Pin
Rajkumar Rachoti19-Jun-07 4:46
Rajkumar Rachoti19-Jun-07 4:46 
GeneralRe: Tree Control Images Pin
Mark Salsbery19-Jun-07 5:09
Mark Salsbery19-Jun-07 5:09 
Question.Net or MFC which one is faster? Pin
Electronic7515-Jun-07 3:28
Electronic7515-Jun-07 3:28 
AnswerRe: .Net or MFC which one is faster? Pin
Force Code15-Jun-07 3:37
Force Code15-Jun-07 3:37 
AnswerRe: .Net or MFC which one is faster? Pin
CPallini15-Jun-07 3:47
mveCPallini15-Jun-07 3:47 
AnswerRe: .Net or MFC which one is faster? Pin
Matthew Faithfull15-Jun-07 4:13
Matthew Faithfull15-Jun-07 4:13 
GeneralRe: .Net or MFC which one is faster? Pin
Nemanja Trifunovic15-Jun-07 4:16
Nemanja Trifunovic15-Jun-07 4:16 
GeneralRe: .Net or MFC which one is faster? Pin
Matthew Faithfull15-Jun-07 4:51
Matthew Faithfull15-Jun-07 4:51 
Sure it is smarter than the average bear but the CRT is also a catclysmic mess. Seven levels of function calls to do one allocation is already a high price to pay for a few bytes before you get into actual heap management. Granted it's not as bad in release code as the view you get in the debugger.
I wrote my own page memory manager that buy's pages off Win32 on a private heap and it beats the CRT by >10x in 1Gb of random <1MB size, allocations deleted in random order (Which is pretty much worst case for my implementation). <1s on an old Athlon 2100+. Doesn't suffer badly from fragmentation either Big Grin | :-D .
It needs a hell of a lot more refining and tidying up before I post it to CP though and the average memory footprint at runtime is a little larger than with the CRT. Making that tunable is one of the refinements needed.

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: .Net or MFC which one is faster? Pin
Nemanja Trifunovic15-Jun-07 4:21
Nemanja Trifunovic15-Jun-07 4:21 
GeneralRe: .Net or MFC which one is faster? Pin
CPallini15-Jun-07 5:45
mveCPallini15-Jun-07 5:45 
GeneralRe: .Net or MFC which one is faster? Pin
Nemanja Trifunovic15-Jun-07 6:10
Nemanja Trifunovic15-Jun-07 6:10 
GeneralRe: .Net or MFC which one is faster? Pin
CPallini15-Jun-07 6:42
mveCPallini15-Jun-07 6:42 
AnswerRe: .Net or MFC which one is faster? Pin
Mark Salsbery15-Jun-07 6:23
Mark Salsbery15-Jun-07 6:23 
QuestionBitmap on Controls Pin
mcsherry15-Jun-07 3:21
mcsherry15-Jun-07 3:21 
AnswerRe: Bitmap on Controls Pin
Force Code15-Jun-07 3:30
Force Code15-Jun-07 3:30 
GeneralRe: Bitmap on Controls Pin
mcsherry15-Jun-07 4:21
mcsherry15-Jun-07 4:21 
QuestionRe: Bitmap on Controls Pin
David Crow15-Jun-07 5:29
David Crow15-Jun-07 5:29 
QuestionCopyFile Pin
RobJones15-Jun-07 2:58
RobJones15-Jun-07 2:58 
AnswerRe: CopyFile Pin
David Crow15-Jun-07 3:15
David Crow15-Jun-07 3:15 
GeneralRe: CopyFile Pin
RobJones15-Jun-07 3:18
RobJones15-Jun-07 3:18 
QuestionCreate dsw file from source files Pin
vipin_nvk15-Jun-07 1:36
vipin_nvk15-Jun-07 1:36 
AnswerRe: Create dsw file from source files Pin
David Crow15-Jun-07 2:23
David Crow15-Jun-07 2:23 
QuestionReading Data from .STL File Pin
rtprogrammer15-Jun-07 1:33
rtprogrammer15-Jun-07 1:33 
AnswerRe: Reading Data from .STL File Pin
Cedric Moonen15-Jun-07 2:07
Cedric Moonen15-Jun-07 2:07 
GeneralRe: Reading Data from .STL File Pin
rtprogrammer15-Jun-07 7:30
rtprogrammer15-Jun-07 7:30 

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.