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

codesize regression with large calldata arrays which need to be clamped #2656

Open
charles-cooper opened this issue Feb 13, 2022 · 1 comment
Assignees

Comments

@charles-cooper
Copy link
Member

Version Information

  • vyper Version (output of vyper --version): as of v0.3.0

What's your issue about?

Clampers should run in a loop, but instead they are unrolled

How can it be fixed?

make_setter should use a loop in general when the number of elements is large enough

@charles-cooper charles-cooper self-assigned this Feb 13, 2022
@charles-cooper
Copy link
Member Author

guessing we also want to loop for ABI encoding large arrays

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 a pull request may close this issue.

1 participant