BumpPtrAllocator
A BumpPtrAllocator
that allocates slabSize
at a time. slabSize
initiates with initialSlabSize
and doubles periodically as allocations occur. Once all memory in a slab has been used, it allocates a new slab and no memory allocations are necessary until that slab is completely filled up.
This declaration is gated by at least one @_spi attribute.
class BumpPtrAllocator