Formal Review of region allocator begins

hqs7636 2011-09-14
Description (from docs):

RegionAllocator is a memory allocator based on segmented stacks. A
segmented stack is similar to a regular stack in that memory is
allocated and freed in last in, first out order. When memory is
requested from a segmented stack, it first checks whether enough space
is available in the current segment, and if so increments the stack
pointer and returns. If not, a new segment is allocated. When memory is
freed, the stack pointer is decremented. If the last segment is no
longer in use, it may be returned to where it was allocated from or
retained for future use.

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=144058
Global site tag (gtag.js) - Google Analytics