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
I have seen some production Elm apps still 'compiling in dev mode', presumably either because this was forgotten or because someone is still working actively on them.
How does this affect performance if at all? Does it have any negative effects in production?
The text was updated successfully, but these errors were encountered:
According to documentation (or you can use: elm make --help) the --optimize switch does at least two things:
Renaming variables so the overall size of app reduces (Also it can be considered as basic obfuscation if you are concerned about your code being reverse engineered.
Unboxing values which means less memory resumption and faster code due to less memory lookup.
So how much --optimize is beneficial differs form app to app and needs extra benchmarking on app for a precise measure.
I have seen some production Elm apps still 'compiling in dev mode', presumably either because this was forgotten or because someone is still working actively on them.
How does this affect performance if at all? Does it have any negative effects in production?
The text was updated successfully, but these errors were encountered: