Skip to content

Consider using a bitvector for lua memory type tracking. #23

@MDFL64

Description

@MDFL64

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.

Metadata

Metadata

Assignees

Labels

optimisationImplement this to make things run faster

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions