compact-pure-function

IN premise

`compact()` has no side effects, performs no I/O, and does not mutate the `Network` instance.

Summary

The compact function is safe to call at any time because it only reads data and returns a result without changing anything. This means callers never need to worry about ordering constraints, defensive copies, or interference with other operations on the network.

Details

Sourceentries/2026/04/24/reasons_lib-compact.md