View Single Post
Old Mar 28th, 2006, 9:40 AM   #6
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Well, when pushing 30 million of objects 100 mB isn't that much in comparison (well, at least I guess so, unless one object is 2 bytes big). If you don't need pointers in this situation, you don't have to, remember that. When using tree structures, you often use inheritance etc. though (I don't know if you are using it) and you will need to use pointers.

I'm trying to make clear that the use of pointers and dynamic memory allocation depends on the situation.
Polyphemus_ is offline   Reply With Quote