Repository navigation
v0.33.0
MINOR: before 1.0.0, a breaking change increases MINOR. attributeGraph and check no longer read a document past the depth limit of check. A caller that read the deep part of the graph sees fewer vertices, thus this release counts as a breaking change. No new exports.
Fixes
- The graph of attribute instances keeps the depth limit of
check(D202). A deep chain with one reference to a node took memory quadratic in its depth. At approximately 5000 levelscheckgave aRangeError, and at 12000 levels it ran out of memory. The time and the memory ofcheckare linear in the size after this fix (TREE.GRAPH-DEPTH).
Changes of behavior
- A node deeper than the depth limit gets no vertex (TREE.GRAPH-DEPTH). A read of it has an unknown source. A cycle past the limit gets no
#CYCLE!fromcheck, and the#DEPTH!of the first walk stays.