Recent posts

map vs. unordered_map

August 20 2021

map ๋ ˆ๋“œ ๋ธ”๋ž™ ํŠธ๋ฆฌ ๊ธฐ๋ฐ˜ ๊ฒ€์ƒ‰์†๋„๊ฐ€ ๋น ๋ฅธ Binary Search Tree(BST) + Self-Balancing ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ O(logN)์„ ๋ณด์žฅํ•˜๋Š” ์ˆ˜์ค€์œผ๋กœ Balancing ํ‚ค ๊ฐ’์˜ ๋ถ„ํฌ๊ฐ€ ๊ณ ๋ฅด์ง€ ๋ชปํ•  ๊ฒฝ์šฐ node rotation์— ๋Œ€ํ•œ ๋น„์šฉ์ด ๊ณ„์† ๋ฐœ์ƒํ•˜๊ธฐ์— Insert / Delete ์„ฑ๋Šฅ์ด...

Gizmo

August 11 2021

Gizmo ์”ฌ ๋ทฐ์—์„œ ํŽธ์ง‘์ด๋‚˜ ๋””๋ฒ„๊น…์„ ์œ„ํ•ด ์˜ค๋ธŒ์ ํŠธ์˜ ์œ„์น˜๋‚˜ ๋ฒ”์œ„, ํŠน์ • ์š”์†Œ๋ฅผ ๊ฐ€์‹œํ™”

์™œ Lua๋ฅผ ์“ฐ๋Š”๊ฐ€

August 11 2021

Lua ์Šคํฌ๋ฆฝํŠธ ์ ˆ์ฐจ์‹ ๋ช…๋ น์‹ ์Šคํฌ๋ฆฝํŠธ ์–ธ์–ด ๊ฐ„๋‹จํ•œ ์ž๋ฃŒ๊ตฌ์กฐ : boolean, number, string, table ํ•ต์‹ฌ ๋ชจ๋“ˆ์˜ ํฌ๊ธฐ๊ฐ€ 120KB ์ดํ•˜ ๊ฒŒ์ž„ ๊ฐœ๋ฐœ์— ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” Python์— ๋น„ํ•ด ๋น ๋ฅธ ์‹คํ–‰ ์†๋„๋ฅผ ๊ฐ€์ง ์˜คํ”ˆ์†Œ์Šค

PP vs. OOP vs. DOP

August 11 2021

Procedural Programing (์ ˆ์ฐจ์  ํ”„๋กœ๊ทธ๋ž˜๋ฐ) ๋ฐ์ดํ„ฐ๋ฅผ ์ค‘์‹ฌ์œผ๋กœ ํ•จ์ˆ˜๋ฅผ ๋งŒ๋“ค์–ด ์‚ฌ์šฉ ํ”„๋กœ๊ทธ๋žจ์ด ํ•จ์ˆ˜ํ™” ๋˜์–ด ์ˆœ์ฐจ์ ์œผ๋กœ ์ฒ˜๋ฆฌ ํ”„๋กœ๊ทธ๋žจ ์ „์ฒด๊ฐ€ ์œ ๊ธฐ์ ์œผ๋กœ ์—ฐ๊ฒฐ ์žฅ์  ์ปดํ“จํ„ฐ์˜ ์ฒ˜๋ฆฌ๊ตฌ์กฐ์™€ ์œ ์‚ฌํ•ด ์‹คํ–‰์†๋„๊ฐ€ ๋น ๋ฆ„ ๋‹จ์  ์œ ์ง€๋ณด์ˆ˜๊ฐ€ ์–ด๋ ค์›€ ์‹คํ–‰ ์ˆœ์„œ๊ฐ€ ์ •ํ•ด์ ธ ์žˆ์œผ๋ฏ€...

Event Queue

August 04 2021

Event ํ•œ object์— ์˜ํ•ด ์–ด๋–ค action์ด ๋ฐœ์ƒํ–ˆ์Œ์„ ์•Œ๋ฆฌ๋Š” notification .NET์—์„œ๋Š” observer design pattern์„ ์‚ฌ์šฉ