wasm2lua icon indicating copy to clipboard operation
wasm2lua copied to clipboard

Consider using a bitvector for lua memory type tracking.

Open MDFL64 opened this issue 5 years ago • 0 comments

Currently memory types are tracked using a (hash)table.

Performing a table lookup for every memory operation is probably not the best idea. Type ids only take up 2 bits of space, so we should be able to store 16 cells (64 bytes) worth of type ids per bitvector cell.

MDFL64 avatar Jun 08 '19 09:06 MDFL64