No difference; there's now just one toggle for it all (though there still are a few other codegen switches). See also

[link:lorgonblog.spaces.live.com]

(The compiler flags are likely to undergo at least one more big set of changes in a future release to make them more comprehensible & orthogonal.)

By on 5/7/2009 7:22 PM ()

It could be useful to give a user more control over the optimizations.

It is not something specific to F#, but it would be great if the program could control how aggressive optimizations the .Net JIT can apply.

For example, if I know that my program would take hundreds of CPU hours, I would compile with fsc.exe -O3, meaning that I don't care if the JIT spends even an hour precompiling my code. Or maybe I can do something like this now? The JIT could, in theory, figure out that some portion of code is the bottleneck and recompile it more aggressively, but I could not see it doing that.

Another option could be ability to control JIT level from by the program itself i.e.

# if (input_size > 1000) then JIT_RECOMPILE -O3 -funroll-loops

By on 5/20/2009 10:47 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper