Skip to main content

Module chunks

Module chunks 

Source
Expand description

proa chunks: consolidation inspector for HTML and XML macro bodies.

The macros compile a template into alternating static byte runs and dynamic slots. The number, size, and placement of those runs decide how much of a render is bulk memcpy versus per-slot work. This command estimates that segmentation straight from the parsed template so authors can see what breaks consolidation without reading macro expansions.

The byte counts are estimates: compile-time attribute escaping, entity normalization, and void-element handling can shift sizes by a few percent. Treat the output as a map, not a ledger.

Structs§

MacroChunkReport

Functions§

analyze_paths
print_reports