Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce instruction fetch overhead #19

Open
explodingcamera opened this issue May 25, 2024 · 0 comments
Open

Reduce instruction fetch overhead #19

explodingcamera opened this issue May 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@explodingcamera
Copy link
Owner

explodingcamera commented May 25, 2024

Right now, wasm modules are stored in an Rc (as they are stored alongside host "modules), storing the instructions separately should bring a lot of speed improvements and maybe improve cache prefetching (?). The fastest way would be raw pointers, but I'd like to keep the codebase unsafe free.

Update: preliminary tests showed no tangible perf improvements from accessing instructions without indirection.

@explodingcamera explodingcamera added the enhancement New feature or request label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant