Right now I see the following behavior for static constant expressions which I am pretty sure didn’t work this way in bucklescript + reasonml
Like here rescript omits unoptimized calculation
Or even does not prevaluate constants.
var audio_height = 120.0 / 2.0;
This kind of optimisation is kind of killer feature of compiled-to-js languge IMHO. Or maybe I am doing something wrong? Is there any way to turn on the optimiser like flambda?