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

Consider allowing functions to be inlined #37

Open
thelonious opened this issue Apr 5, 2014 · 0 comments
Open

Consider allowing functions to be inlined #37

thelonious opened this issue Apr 5, 2014 · 0 comments

Comments

@thelonious
Copy link
Contributor

This could be indicated with a keyword, maybe 'inline':

inline func min(a, b) {
  a < b ? a : b
}

The byte code of the function's body could replace the invocation itself. Special care will have to be taken for argument references

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

No branches or pull requests

1 participant