ShardedIntStorage

Data Structures View source
ShardedIntStorage
public class ShardedIntStorage

A shared integer arena spanning multiple native JASS arrays. Allocations are contiguous logical address ranges and released adjacent ranges are coalesced.

Methods

static function capacity() returns int
static function get(int address) returns int
static function set(int address, int value)
static function tryAllocate(int size) returns int
static function allocate(int size) returns int
static function release(int start, int size)