Skip to main content

Module node

Module node 

Source
Expand description

Cache-line aligned Node layout. Cache-line aligned node layout and supporting types.

Each Node occupies exactly 64 bytes (one cache line), split into a hot first half (tree links, tag, depth) and a cold second half (attribute metadata, padding).

Structs§

Node
A single DOM node in the arena, exactly 64 bytes (one cache line).
NodeFlags
Bitflags for node properties.
NodeId
Index into the arena’s node vector.