Skip to main content

v3_allocate

Members

bucket : ArrayBuffer | null
bucket_cursor : number

Constants

ALLOCATOR_BUCKET_CAPACITY : number

Larger bucket sizes provide better cache locality Larger bucket sizes also cause more hanging GC references, as if one matrix element is still held - ENTIRE bucket is still referenced

Functions

v3_allocate()Float32Array

custom Float32Array allocator, allocated memory in continuous chunks

bucket : ArrayBuffer | null

Kind: global variable

bucket_cursor : number

Kind: global variable

ALLOCATOR_BUCKET_CAPACITY : number

Larger bucket sizes provide better cache locality Larger bucket sizes also cause more hanging GC references, as if one matrix element is still held - ENTIRE bucket is still referenced

Kind: global constant

v3_allocate() ⇒ Float32Array

custom Float32Array allocator, allocated memory in continuous chunks

Kind: global function