[swift-evolution] More fine tuning optimization to swift compiler

Muse M james.lei65 at gmail.com
Sun Aug 7 21:27:56 CDT 2016


I'm not sure if this is the right channel to discuss on optimization switch

We are aware the 3 options:
-O
-Ofast
-Ounchecked

As we can see, we rarely use -Ounchecked for safety reason and there aren't
much info on what are the tradeoff. if there are performance reason that
will need to improve loop or maths optimization or allow developers to
fine-tuning in various area, we could add more options to compiler.

-OLoop (Optimize loop with safety)
-OFunc (Optimize function calls)
and so on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160808/9353c990/attachment.html>


More information about the swift-evolution mailing list