The serialized result document of
Executable::transform_compact, kept as a
sequence of pieces, each distinct piece stored once. A piece is what the serializer
writes from one tag to the next written in full: an element with its indentation, a
start tag, or text with the end tag that follows.
A compiled Schematron writes the same svrl:fired-rule element, with the same
indentation, each time a rule fires, and the same message for each node an
assertion fails on: on a large document, its SVRL report is mostly copies of a few
hundred pieces, and kept this way takes four bytes per fired rule instead of the
length of the element. The distinct pieces are kept in blocks that are never
reallocated, so that the store does not grow by copying.
Two outputs are equal when their texts are; fmt::Display writes the text and
fmt::Debug shows it as String’s does.