mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
compositionSrcsIn read template.content at every nesting level. linkedom builds that fragment by deep-cloning the template's children, so a file of nested templates cost work and memory that grew with the square of the depth. The scan now walks the parsed tree once and tracks whether each element sits inside a template.