You are viewing a single thread.
View all comments
2 points

I can’t look at the source right now, but it’s likely heap. Swift stdlib collections typically use a buffer that is a reference type. The whole ‘copy on write’ thing requires reference types somewhere in the guts (if I remember correctly).

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

  • 23

    Monthly active users

  • 56

    Posts

  • 24

    Comments