You are viewing a single thread.
View all comments
1 point

Dictionary is a value type so it is stack-allocated. But that value is a pretty thin wrapper around a heap-allocated backing store. I’m not sure how useful it is to think about or even know that detail. I hate doing the cliché thing here, but can I ask why you are asking?

permalink
report
reply

Swift

!swift@programming.dev

Create post

This group focus on the content related to the development of Apple Eco-system software. So feel free to share and talk about, for example;

  • Swift
  • Xcode
  • macOS, iOS, iPadOS…etc.

Community stats

  • 14

    Monthly active users

  • 44

    Posts

  • 24

    Comments