Uses standard C++ memory allocation for the column data pages.
The page allocator acquires and releases memory for pages. It does not populate the pages, the returned pages are empty but guaranteed to have enough contiguous space for the given number of elements. While a common concrete implementation uses the heap, other implementations are possible, e.g. using arenas or mmap().
Definition at line 71 of file RPageAllocator.hxx.
Static Public Member Functions | |
static void | DeletePage (const RPage &page) |
Releases the memory pointed to by page and resets the page's information. | |
static RPage | NewPage (ColumnId_t columnId, std::size_t elementSize, std::size_t nElements) |
Reserves memory large enough to hold nElements of the given size. | |
#include <ROOT/RPageAllocator.hxx>
|
static |
Releases the memory pointed to by page and resets the page's information.
Definition at line 30 of file RPageAllocator.cxx.
|
static |
Reserves memory large enough to hold nElements of the given size.
The page is immediately tagged with a column id.
Definition at line 21 of file RPageAllocator.cxx.