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

C / C++ / MFC

 
AnswerRe: How to detect Shutdown Pin
Prasann Mayekar24-Oct-07 2:45
Prasann Mayekar24-Oct-07 2:45 
GeneralRe: How to detect Shutdown Pin
VC_RYK24-Oct-07 3:32
VC_RYK24-Oct-07 3:32 
GeneralRe: How to detect Shutdown Pin
Mark Salsbery24-Oct-07 5:44
Mark Salsbery24-Oct-07 5:44 
GeneralWeb Browser Hosting / Focus Problem Pin
Steve Thresher24-Oct-07 2:00
Steve Thresher24-Oct-07 2:00 
QuestionThere is no source code available for the current location Pin
akira3224-Oct-07 1:51
akira3224-Oct-07 1:51 
AnswerRe: There is no source code available for the current location Pin
KarstenK24-Oct-07 2:01
mveKarstenK24-Oct-07 2:01 
Generalvirtual memory allocation Pin
Jagadeesh Musham24-Oct-07 1:18
Jagadeesh Musham24-Oct-07 1:18 
GeneralRe: virtual memory allocation Pin
Cedric Moonen24-Oct-07 1:28
Cedric Moonen24-Oct-07 1:28 
I will make a citation that I read somewhere (sorry, I don't remember from who it was):
"Early optimization is the root of all evil". Specially in your case if you don't know exactly what you are doing and you just heard that somewhere.

So, are you having troubles ? Is your program becoming slow ? Are you allocating/dealocating a lot (and when I say a lot, read it as really a LOT) of objects ?
If no, then you will probably make things a lot more complex and probably much buggy than they are. Because if you need to implement a system that manages memory allocation in a more efficient manner it's going to be quite complex.

Finally, I really would like to see where you read it and if you didn't interpret the thing out of context (or maybe the author is just plain stupid). C'mon you're not going to experience slowdown if you allocate a bunch of integers or objects.


Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: virtual memory allocation Pin
Nemanja Trifunovic24-Oct-07 8:15
Nemanja Trifunovic24-Oct-07 8:15 
GeneralRe: virtual memory allocation Pin
Cedric Moonen24-Oct-07 20:03
Cedric Moonen24-Oct-07 20:03 
GeneralRe: virtual memory allocation Pin
Iain Clarke, Warrior Programmer24-Oct-07 1:37
Iain Clarke, Warrior Programmer24-Oct-07 1:37 
GeneralRe: virtual memory allocation Pin
Peter Weyzen24-Oct-07 13:36
Peter Weyzen24-Oct-07 13:36 
QuestionBitmap creation in internal buffer Pin
jossion24-Oct-07 1:16
jossion24-Oct-07 1:16 
AnswerRe: Bitmap creation in internal buffer Pin
PJ Arends24-Oct-07 1:30
professionalPJ Arends24-Oct-07 1:30 
GeneralRe: Bitmap creation in internal buffer Pin
Iain Clarke, Warrior Programmer24-Oct-07 1:43
Iain Clarke, Warrior Programmer24-Oct-07 1:43 
AnswerRe: Bitmap creation in internal buffer Pin
Iain Clarke, Warrior Programmer24-Oct-07 1:43
Iain Clarke, Warrior Programmer24-Oct-07 1:43 
Questiona link error in C++ programming Pin
richardye24-Oct-07 1:10
richardye24-Oct-07 1:10 
AnswerRe: a link error in C++ programming Pin
Cedric Moonen24-Oct-07 1:17
Cedric Moonen24-Oct-07 1:17 
GeneralRe: a link error in C++ programming Pin
led mike24-Oct-07 5:11
led mike24-Oct-07 5:11 
GeneralRe: a link error in C++ programming Pin
Cedric Moonen24-Oct-07 7:05
Cedric Moonen24-Oct-07 7:05 
AnswerRe: a link error in C++ programming Pin
David Crow24-Oct-07 5:46
David Crow24-Oct-07 5:46 
AnswerRe: a link error in C++ programming Pin
Iain Clarke, Warrior Programmer24-Oct-07 5:52
Iain Clarke, Warrior Programmer24-Oct-07 5:52 
GeneralRe: a link error in C++ programming Pin
richardye24-Oct-07 14:41
richardye24-Oct-07 14:41 
QuestionAdding stuff to CEdit's popup menu Pin
William Engberts24-Oct-07 0:13
William Engberts24-Oct-07 0:13 
AnswerRe: Adding stuff to CEdit's popup menu Pin
Naveen24-Oct-07 0:20
Naveen24-Oct-07 0:20 

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.