Skip to main content

allocate_m4

Members

transform_bucket : ArrayBuffer | null
transform_bucket_cursor : number

Constants

TRANSFORM_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

allocate_m4()Float32Array

custom Float32Array allocator, allocated memory in continuous chunks

transform_bucket : ArrayBuffer | null

Kind: global variable

transform_bucket_cursor : number

Kind: global variable

TRANSFORM_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

allocate_m4() ⇒ Float32Array

custom Float32Array allocator, allocated memory in continuous chunks

Kind: global function