ended3월 23일· 1 sources
HTML Parsing Algorithm and Memory Structure
HTML 파싱 알고리즘과 메모리 구조
Why it matters
The article explains how browsers parse raw HTML using an 80-state state machine that tokenizes input character by character, paired with a tree construction algorithm that builds the DOM while automatically handling malformed markup. It also describes how the resulting DOM tree is stored in heap memory as node objects with parent-child pointer relationships.
1
Sources
+0
24h
—
Growth
173d
Active
HTML ParserState MachineDOMTree ConstructionWHATWGHeap Memory