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

Performance improvements #5

Closed
Specy opened this issue Feb 1, 2023 · 0 comments
Closed

Performance improvements #5

Specy opened this issue Feb 1, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Specy
Copy link
Owner

Specy commented Feb 1, 2023

The rust interpreter currently runs at 11mhz, but can theoretically run at +-33mhz by removing the clone of the instruction before the execution.
I wasn't able to remove this clone and I can't seem to pass by reference the instruction. The step function of the interpreter, the instruction is cloned before executing, removing this clone improves performance by 3x but the borrow checker doesn't let me

@Specy Specy added enhancement New feature or request help wanted Extra attention is needed labels Feb 1, 2023
@Specy Specy closed this as completed Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant