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

Evaluate the ABI for existential container storage.

    Details

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

      Description

      We currently reserve 3 words of inline storage for existential containers. We may want to reevaluate this decision for codifying it. This might be too small for important patterns. e.g. NSRect does not fit.

      We also need to consider whether we want to stack allocate local existential boxes (when the type doesn't fit in the inline buffer).

      This is a secondary ABI concern. i.e. it would be nice to reevaluate the current design before the final ABI lock down.

        Attachments

          Activity

            People

            • Assignee:
              aschwaighofer@apple.com Arnold Schwaighofer
              Reporter:
              atrick Andrew Trick
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: