브라우저 구현하는데 폰트 가로폭 측정함수가 너무 느려서 디버깅하다가 결국 측정함수 사용을 최소화하고, 인메모리 캐싱하는 전략을 썼다. 결과적으론 성공인데, ChatGPT한테 물어보면서 리눅스 구현체 vs macOS 구현체의 심연을 들여다보는 중....
Chapter 2보다 Chapter 3 쪽이 풀 얘기가 많다..... 하이고...
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/019a3576-6e48-72b2-b50e-eb5b2ed49168 on your instance and quote it. (Note that quoting is not supported in Mastodon.)