Advanced opts won't work with Elm. Check https://github.com/elm-lang/core/pull/734 Also, I'm surprised that uglify gives so bad results. As you can see in the PR, my results didn't show that big a difference.
torsdag 26. januar 2017 12.53.31 UTC+1 skrev Ahmed Fasih følgende: > > On Thursday, January 26, 2017 at 3:30:25 AM UTC-5, Peter Damoc wrote: >> >> You need the --assume_function_wrapper flag. >> > > Thank you Peter!!! That was all that was necessary, no need for the > compiler to emit anything special. I updated the build script and am > proceeding happily. > > I am hearing what you’re saying about the relative importance of > compression vs light minification vs aggressive compilation. I’m actually > more hopeful about optimizations. I had a somewhat math- and SVG-intensive > app in ClojureScript (where the Google Closure Compiler is baked into the > most minimalistic workflow) and the framerate improvement between > whitespace-only minification and advanced compilation was very pleasant. > Alas my current tiny app is network-bound, so no noticeable speed > improvements 😁. > > Again, many thanks for pointing out this flag 🙏! > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
