Swift Allocation Explained
Swift Collection의 메모리 할당
Swift에서 Collection은 구조체(struct)로 선언되어 있어 값 타입(value type)입니다.
Array
Set
Dictionary
String (Collection을 준수함)
값 타입(value type)인 Collection은 Stack 메모리에 할당될까요?
일반적으로 Swift에서 값 타입(value type)은 Stack에 할당되지만, Collection의 경우 얘기...
cswift.hashnode.dev4 min read