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

Added Register (for int64) type. #240

Merged
merged 17 commits into from
Sep 20, 2024
Merged

Added Register (for int64) type. #240

merged 17 commits into from
Sep 20, 2024

Conversation

ldemailly
Copy link
Member

@ldemailly ldemailly commented Sep 18, 2024

  • Rename object.Value() ObjValue() so an object can be both ast.Node and ast.Object
  • simple loop (see loop.gr) shows great improvement (no reg is 50% slower)
  • added register for integer function arguments
  • more benchmarks (mandelbrot.gr shows no noticeable improvements somehow)
  • more profiles
  • extend to other types

@ldemailly ldemailly merged commit ab2ebd3 into main Sep 20, 2024
3 checks passed
@ldemailly ldemailly deleted the registers branch September 20, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant