DefaultMemAllocStrategy

Deprecated

Memory is now allocated by page (64KB each), so custom allocation strategies are no longer used.

Default memory allocation strategy that doubles the buffer size on growth.

Constructors

Link copied to clipboard
constructor(max: Int)

Functions

Link copied to clipboard
open override fun initial(min: Int): Int
Link copied to clipboard
open override fun next(current: Int, target: Int): Int