[EMAIL PROTECTED] wrote:
> I was told that when we allocate the memory (new) at first time
> in c++, the c++ library will allocate a big block of memory. Later on,
> when we allocate more memory, the c++ library just allocates them from
> that big block of memory instead of getting from the operating system.

With no context further than 'C++' this is not generally true. What you
describe is not even typical for memory pools I have heard of. BTW, what
is the relation to the GCC?

Uli

-- 
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to