export interface Slab { i16 : Int16Array ; i32 : Int32Array ; } const SLAB_16_SIZE = 100 * 1024 ; const SLAB_32_SIZE = 2048 ; function makeSlab ( size16 , size32 ) { return { i16 : new Int16Array ( size16 ) , i32 : new Int32Array ( size32 ) , } ; } export const slab = makeSlab ( SLAB_16_SIZE , SLAB_32_SIZE ) ;