Click here to Skip to main content
16,007,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionKeywords that I don't understand Pin
Alex Cutovoi2-Jul-07 13:26
Alex Cutovoi2-Jul-07 13:26 
AnswerRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 13:30
Stephen Hewitt2-Jul-07 13:30 
AnswerRe: Keywords that I don't understand [modified] Pin
Jeremy Falcon2-Jul-07 14:12
professionalJeremy Falcon2-Jul-07 14:12 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 15:03
Stephen Hewitt2-Jul-07 15:03 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 15:16
professionalJeremy Falcon2-Jul-07 15:16 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 15:38
Stephen Hewitt2-Jul-07 15:38 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:00
professionalJeremy Falcon2-Jul-07 16:00 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 16:15
Stephen Hewitt2-Jul-07 16:15 
I was not (and am not) attempting to be pretentious. I said that your original statement about inline functions making functions bigger was “not true for really small functions.”:
Jeremy Falcon wrote:
Of course, if you call an inline function a lot, you'll increase the size of your exe substantially.

Stephen Hewitt wrote:
This is not true for really small functions. For example if a function simply added two numbers or returned some value then the function call overhead will be bigger then the actual code and inlining will save time and space.


To this you replied as follows:
Jeremy Falcon wrote:
We both know the smaller the function the less the increase in executable, so my statement isn't incorrect. But the increase is still substantial relative to the routine.


I did read your posts and have done so again when preparing this reply. Your assertion that, “if you call an inline function a lot, you'll increase the size of your exe substantially”, is simply not true for small functions. In fact the opposite is true: if the inline function is small then the more you call it the more space you’ll save!

You’ve obviously interpreted my (correct) comments as a personal attack. This is not the case. The CodeProject is about sharing knowledge and such. I can see nowhere in you post to justify your assertion that you, “didn't deny your points on one-line routines.”


Steve

GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:24
professionalJeremy Falcon2-Jul-07 16:24 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:08
professionalJeremy Falcon2-Jul-07 16:08 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 16:22
Stephen Hewitt2-Jul-07 16:22 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:25
professionalJeremy Falcon2-Jul-07 16:25 
GeneralRe: Keywords that I don't understand Pin
User 5838522-Jul-07 16:44
User 5838522-Jul-07 16:44 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:48
professionalJeremy Falcon2-Jul-07 16:48 
GeneralRe: Keywords that I don't understand Pin
User 5838522-Jul-07 16:57
User 5838522-Jul-07 16:57 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:05
professionalJeremy Falcon2-Jul-07 17:05 
GeneralRe: Keywords that I don't understand Pin
User 5838522-Jul-07 17:48
User 5838522-Jul-07 17:48 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:57
professionalJeremy Falcon2-Jul-07 17:57 
GeneralRe: Keywords that I don't understand Pin
User 5838522-Jul-07 18:02
User 5838522-Jul-07 18:02 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 17:24
Stephen Hewitt2-Jul-07 17:24 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:33
professionalJeremy Falcon2-Jul-07 17:33 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 17:48
Stephen Hewitt2-Jul-07 17:48 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:54
professionalJeremy Falcon2-Jul-07 17:54 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:56
professionalJeremy Falcon2-Jul-07 17:56 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 17:46
professionalJeremy Falcon2-Jul-07 17:46 

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.