Builder

open class Builder

The AllocatorConfig Builder.

Constructors

Link copied to clipboard
constructor()
Instantiates a new AllocatorConfig.Builder.

Functions

Link copied to clipboard
Builds the AllocatorConfig.
Link copied to clipboard
open fun setIndividualAllocationSize(individualAllocationSize: Int): AllocatorConfig.Builder
Sets the length of each individual Allocation.
Link copied to clipboard
open fun setInitialAllocationCount(initialAllocationCount: Int): AllocatorConfig.Builder
Sets the number of allocations to create up front.
Link copied to clipboard
Sets whether memory is freed when the allocator is reset.