This is a
In this type of array, each element occupies its own individual cell allocated from the heap. The array buffer contains fixed length data structures, one for each element, which are logically contiguous within the buffer but are physically contiguous only within a segment. Each fixed length data structure contains the length of an element (a
A segmented buffer is implemented as a doubly linked list of equally sized cells allocated from the heap and is always extended by allocating a new segment and inserting it into the appropriate place in the list. A segmented array buffer is implemented using a
The following diagram illustrates how elements are organised within the array buffer:
This kind of array is suitable for large arrays with a high turnover of elements.
This class is immediately derived from the abstract templated base class
This is a
In this type of array, each element occupies its own individual cell allocated from the heap. The array buffer contains fixed length data structures, one for each element, which are logically contiguous within the buffer but are physically contiguous only within a segment. Each fixed length data structure contains the length of an element (a
A segmented buffer is implemented as a doubly linked list of equally sized cells allocated from the heap and is always extended by allocating a new segment and inserting it into the appropriate place in the list. A segmented array buffer is implemented using a
The following diagram illustrates how elements are organised within the array buffer:
This kind of array is suitable for large arrays with a high turnover of elements.
This class is immediately derived from the abstract templated base class