<div dir="ltr">Thanks. I filed a bug to have@inline documented.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 12:04 PM, Mish Awadah <span dir="ltr"><<a href="mailto:mawadah@apple.com" target="_blank">mawadah@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Maybe I don’t understand the depth of your question, but a cursory Google search turns up this: <a href="http://stackoverflow.com/questions/27881051/is-there-a-way-in-swift-to-declare-an-inline-function" target="_blank">http://stackoverflow.com/questions/27881051/is-there-a-way-in-swift-to-declare-an-inline-function</a><div><br></div><div>- mish</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Dec 10, 2015, at 8:23 AM, Karl Pickett via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Two use cases:<div><br></div><div>1. poking around in the asm for learning. Currently one can work around by putting funcs in different files and not using -whole-module, but it is time consuming and ugly.</div><div>2. Profiling an existing program. When a class method calls another method in the same class, I don't have a workaround to not inline it. </div><div><br></div><div>Also, is there a -fno-optimize-sibling-calls equivalent for swiftc? I don't have a pressing use but was just wondering, because it was shown in the WWDC videos as being helpful for profiling.</div><div><br></div><div>Thanks,</div><div><br></div><div>- Karl</div></div>
</div></div><img alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
_______________________________________________<br>swift-users mailing list<br><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>