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

Optimization: Function inlining #260

Open
nielstron opened this issue Sep 12, 2023 · 1 comment
Open

Optimization: Function inlining #260

nielstron opened this issue Sep 12, 2023 · 1 comment
Labels
bb: medium Medium issue according to bug bounty categorization bug bounty This issue is prized out as part of the Bug Bounty Program enhancement New feature or request

Comments

@nielstron
Copy link
Contributor

nielstron commented Sep 12, 2023

Is your feature request related to a problem? Please describe.
Function calls can be expensive.

Describe the solution you'd like
Short functions can be inlined by the opshin compiler.

Describe alternatives you've considered
None

Additional context
Should be toggleable through #168

Bug bounty: 1000 ADA

@nielstron nielstron added the enhancement New feature or request label Sep 12, 2023
@nielstron
Copy link
Contributor Author

This can/should also encompass

  • inlining of variables that are only written once (i.e. x = y; z = x --> z = y)
  • inlining of function calls to functions that are only written once

@nielstron nielstron added bug bounty This issue is prized out as part of the Bug Bounty Program bb: medium Medium issue according to bug bounty categorization labels Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb: medium Medium issue according to bug bounty categorization bug bounty This issue is prized out as part of the Bug Bounty Program enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant