Uploaded image for project: 'Swift'
  1. Swift
  2. SR-9701

Stack allocated Objective-C no escape closures

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:
      None

      Description

      When we pass closures to @noescape objective c block arguments the closures are allocated on the heap. We should also stack allocate them.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            aschwaighofer@apple.com Arnold Schwaighofer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: