sharedSubplanCount

fnsize_t sharedSubplanCount(PlanNode root) @safe pure

The number of subtree evaluations one collection saves through shared-subplan reuse: every non-source subtree occurrence beyond the first of its structure. The executor's per-collection memo (see ExecContext) serves exactly these, so this static count is the execution-count evidence explain reports.

Parameters

rootthe plan root

Returns

the count of reused (not re-evaluated) subtree results.