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

feat[ir]: improve loop performance #4099

Closed

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Jun 8, 2024

make loop variable just a pointer, remove make_setter

improves some "typical" contracts by 1-2%, but may have a regression for parse_For_list()

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

make loop variable just a pointer, remove make_setter
@charles-cooper charles-cooper added this to the v0.4.1 milestone Jun 8, 2024
@charles-cooper charles-cooper changed the title improve loop performance feat[ir]: improve loop performance Oct 1, 2024
@charles-cooper
Copy link
Member Author

this PR has some fundamental issues. namely, sometimes the loop variable can be used immediately after breaking out of a loop, (e.g. after cleanup_repeat), but the variable is no longer on the stack. this is probably best fixed within venom.

@charles-cooper charles-cooper deleted the fix/improve-loop-perf branch October 11, 2024 00:33
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