일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- #IntrinsicContentSize
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- AR #Augmented Reality
- Autolayout #
- Hugging priority
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- Autolayout 충돌
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- UIKit기본
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- 알고리즘
- OS #Page #Page Table #Virtual Memory
- Multiple Window #iPad
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- notification #
- Compression resistance
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- COW #Copy On Write #Swift #Optimization
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- UI그리기
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- Multitasking #life Cycle
- Multitasking #
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- 백준#5719번#
Archives
- Today
- Total
목록COW #Copy On Write #Swift #Optimization (1)
도니의 iOS 프로그래밍 세상
[Swift] COW(Copy On Write) - 메모리 절약 방법 - Structure 응용편, OS응용편
이전 포스팅에서는 Structure와 Class의 차이에 대해서 공부했습니다. 그때 Value Type인 Structure에서 반드시 값의 복사를 통해서 값을 전달한다고 했지만, 반드시 그런것은 아닙니다! Swift의 Structure의 추가 설명에서 Collection Type인 array, dictionary, String은 복사로 인한 퍼포먼스 코스트를 줄이기위해 최적화된 별도의 방식을 사용합니다 라고합니다. 그것이 오늘 소개할 COW(Copy On Write)입니다!! Swift에서의 COW(Copy On Write) 스위프트 문서상의 설명으로는 복사를 즉각적으로 하지 않고, collection들은 값들이 저장된 메모리를 원본 객체와 복사본들끼리 공유합니다. 만약, collection의 복사본들중..
Swift
2023. 1. 2. 00:09