๊ธ€ ์ž‘์„ฑ์ž: ๊ฐœ๋ฐœํ•˜๋Š” ํ›ˆ์ด

Method Dispatch ์‹œ๋ฆฌ์ฆˆ์˜ ๋ฐœํ‘œ์ž๋ฃŒ์ž…๋‹ˆ๋‹ค!

๊ธ€๋กœ ์ฝ์œผ์‹ค ๋ถ„๋“ค์€ ์•„๋ž˜ ํฌ์ŠคํŠธ๋ฅผ ์ฝ์œผ์‹œ๋ฉด ๋˜์–ด์š”!

 

[Swift] Method Dispatch (1): Static Dispatch vs. Dynamic Dispatch

Method Dispatch ๊ธ€์„ ์‹œ์ž‘ํ•˜๊ธฐ ์ „์—, Method Dispatch๊ฐ€ ๋ฌด์—‡์ธ์ง€์— ๋Œ€ํ•ด ์ •๋ฆฌํ•  ํ•„์š”๊ฐ€ ์žˆ๊ฒ ๋„ค์š”. ๊ณต์‹์ ์ธ ๋ฌธ์„œ๋Š” ์•„๋‹ˆ์ง€๋งŒ ๊ตฌ๊ธ€์— Method Dispatch์˜ ์ •์˜์— ๋Œ€ํ•ด ๊ฒ€์ƒ‰์„ ํ•ด๋ณด๋ฉด, ๐Ÿ’ก how a program selects wh..

jeonyeohun.tistory.com

 

[Swift] Method Dispatch (2): ๋” ๋ณต์žกํ•œ ์ƒํ™ฉ์˜ Method Dispatch

์ผ๋‹จ ์ •๋ฆฌ.. Static Dispatch, Dynamic Dispatch ์ง€๋‚œ ํฌ์ŠคํŠธ์—์„œ Static Dispatch์™€ Dynamic Dispatch๋ฅผ ์ •๋ฆฌํ•ด๋ณด์•˜๋Š”๋ฐ์š”, Static Dispatch๋Š” ์ธ์Šคํ„ด์Šค์—์„œ ๋ฉ”์„œ๋“œ๊ฐ€ ํ˜ธ์ถœ๋  ๋•Œ ์‹ค์ œ๋กœ ์–ด๋–ค ๋ฉ”์„œ๋“œ๊ฐ€ ํ˜ธ์ถœ๋ ์ง€..

jeonyeohun.tistory.com

 

[Swift] Method Dispatch (3): Dynamic Dispatch๋ฅผ ์ค„์—ฌ๋ณด์ž

Increasing Performance by Reducing Dynamic Dispatch - Swift Blog Get the latest news and helpful tips on the Swift programming language from the engineers who created it. developer.apple.com Dynamic..

jeonyeohun.tistory.com