Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Heeeeeeeelp: CString and /clr Pin
Nish Nishant16-Oct-02 19:24
sitebuilderNish Nishant16-Oct-02 19:24 
QuestionSHAutoComplete() where art thou? Pin
Ravi Bhavnani16-Oct-02 12:15
professionalRavi Bhavnani16-Oct-02 12:15 
AnswerRe: SHAutoComplete() where art thou? Pin
Rene De La Garza16-Oct-02 13:12
Rene De La Garza16-Oct-02 13:12 
AnswerRe: SHAutoComplete() where art thou? Pin
Michael Dunn16-Oct-02 18:40
sitebuilderMichael Dunn16-Oct-02 18:40 
AnswerRe: SHAutoComplete() where art thou? Pin
Ravi Bhavnani17-Oct-02 1:00
professionalRavi Bhavnani17-Oct-02 1:00 
GeneralInline functions performance. Pin
Maximilien16-Oct-02 10:47
Maximilien16-Oct-02 10:47 
GeneralRe: Inline functions performance. Pin
Joaquín M López Muñoz16-Oct-02 11:13
Joaquín M López Muñoz16-Oct-02 11:13 
GeneralRe: Inline functions performance. Pin
Marc Clifton16-Oct-02 11:28
mvaMarc Clifton16-Oct-02 11:28 
Inlining absolutely improves performance.

I wrote a program that analyzes satellite switch ring states (we're talking about billions to trillions of possible states here), and inlining improved the algorithm efficiency by 25%.

Turn off incremental linking and "debug and continue", as this injects an additional JMP instruction for every function in your code (a layer of abstraction that makes it easier to patch in new code).

Read everything you can find about the compiler's optimization switches. Some of these are not intuitive, some of them conflict with others. Look at the differences at the assembly language level.

Finally, experience has shown me that I'm hardly ever right about where I think the program is slowing down (and I think I'm a darn good programmer, especially knowing assembly language and being able to root around at that level). Use a code profiler or add profiling in to your code yourself!

Marc
QuestionHeap Fragmentation? Pin
Member 1035854716-Oct-02 10:28
Member 1035854716-Oct-02 10:28 
AnswerRe: Heap Fragmentation? Pin
Pavel Klocek16-Oct-02 19:26
Pavel Klocek16-Oct-02 19:26 
AnswerRe: Heap Fragmentation? Pin
Tomasz Sowinski16-Oct-02 23:40
Tomasz Sowinski16-Oct-02 23:40 
GeneralCallback and Assembly Pin
S van Leent16-Oct-02 10:16
S van Leent16-Oct-02 10:16 
GeneralRe: Callback and Assembly Pin
Paul M Watt16-Oct-02 10:41
mentorPaul M Watt16-Oct-02 10:41 
GeneralRe: Callback and Assembly Pin
S van Leent16-Oct-02 10:42
S van Leent16-Oct-02 10:42 
GeneralRe: Callback and Assembly Pin
Joaquín M López Muñoz16-Oct-02 12:00
Joaquín M López Muñoz16-Oct-02 12:00 
GeneralRe: Callback and Assembly Pin
S van Leent16-Oct-02 20:57
S van Leent16-Oct-02 20:57 
GeneralShortcut making .ini behaving abnormally Pin
insanely42016-Oct-02 9:56
insanely42016-Oct-02 9:56 
GeneralRe: Shortcut making .ini behaving abnormally Pin
Joaquín M López Muñoz16-Oct-02 11:27
Joaquín M López Muñoz16-Oct-02 11:27 
GeneralRe: Shortcut making .ini behaving abnormally Pin
Daniel Ferguson16-Oct-02 14:34
Daniel Ferguson16-Oct-02 14:34 
GeneralRe: Shortcut making .ini behaving abnormally Pin
insanely42016-Oct-02 22:59
insanely42016-Oct-02 22:59 
QuestionOpenDocumentFile() readonly?? Pin
brianwelsch16-Oct-02 9:46
brianwelsch16-Oct-02 9:46 
AnswerRe: OpenDocumentFile() readonly?? Pin
Anonymous16-Oct-02 12:06
Anonymous16-Oct-02 12:06 
GeneralRe: OpenDocumentFile() readonly?? Pin
brianwelsch17-Oct-02 2:41
brianwelsch17-Oct-02 2:41 
GeneralProblem Installer (c++.net) Pin
AnTri16-Oct-02 9:36
AnTri16-Oct-02 9:36 
GeneralRe: Problem Installer (c++.net) Pin
Chris Losinger16-Oct-02 10:41
professionalChris Losinger16-Oct-02 10:41 

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.