You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Although the Elm compiler now compiles the representation of a
Quantity
down to a plainInt
orFloat
when--optimize
is used, there is still a performance overhead of usingQuantity
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:The text was updated successfully, but these errors were encountered: