When placing a Lazy(Array|Object) into the tree, copy its [ptr, len] into the parent...
authorNick Downing <nick@ndcode.org>
Thu, 6 Jan 2022 23:24:56 +0000 (10:24 +1100)
committerNick Downing <nick@ndcode.org>
Thu, 6 Jan 2022 23:24:56 +0000 (10:24 +1100)
commit4759b57c576723bb846c8fc1d1228ff50e8afd60
treea5ba51532620bc14ed50f2be2bdb4b4c217809b6
parent4fad7377d3fc68cc092fad473d05cd5b5ac1314e
When placing a Lazy(Array|Object) into the tree, copy its [ptr, len] into the parent if available, this means that if a subtree is moved from one spot to another the subtree will only need to be rewritten if modified as well (if subtree is not modified, parent can just use a reference to the existing on-disk subtree)
logjson.mjs