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

Investigate options for function inlining #25

Open
ianmackenzie opened this issue Jan 9, 2019 · 0 comments
Open

Investigate options for function inlining #25

ianmackenzie opened this issue Jan 9, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@ianmackenzie
Copy link
Owner

Although the Elm compiler now compiles the representation of a Quantity down to a plain Int or Float when --optimize is used, there is still a performance overhead of using Quantity values since things like addition have to go through a function call (Quantity.plus) instead of just being the + operator in the generated JavaScript. It would be useful to review different JS optimizers to see if there is one that can reliably inline these kinds of functions to eliminate the function call overhead. Candidates include:

@ianmackenzie ianmackenzie added the help wanted Extra attention is needed label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant