In STL what is the sub-allocation?

D

dolphin

Hi all.
Recently, I read some book about the STL . I have a question that
In STL what is the sub-allocation?
Thanks!
 
L

Lance Diduck

Hi all.
Recently, I read some book about the STL . I have a question that
In STL what is the sub-allocation?
Thanks!

It is probably referring to the practice of making a block allocator
that maintains a free list of nodes (for containers like map, set and
list). This method of allocation (sometimes called a suballocator) is
far faster than the default allocator.
See http://www.dinkumware.com/manuals/?manual=compleat&page=allocators.html

Lance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top