5ac362fe6f
* Aristo: Merge `delta_siblings` module into `deltaPersistent()` * Aristo: Add `isEmpty()` for canonical checking whether a layer is empty * Aristo: Merge `LayerDeltaRef` into `LayerObj` why: No need to maintain nested object refs anymore. Previously the `LayerDeltaRef` object had a companion `LayerFinalRef` which held non-delta layer information. * Kvt: Merge `LayerDeltaRef` into `LayerRef` why: No need to maintain nested object refs (as with `Aristo`) * Kvt: Re-write balancer logic similar to `Aristo` why: Although `Kvt` was a cheap copy of `Aristo` it sort of got out of sync and the balancer code was wrong. * Update iterator over forked peers why: Yield additional field `isLast` indicating that the last iteration cycle was approached. * Optimise balancer calculation. why: One can often avoid providing a new object containing the merge of two layers for the balancer. This avoids copying tables. In some cases this is replaced by `hasKey()` look ups though. One uses one of the two to combine and merges the other into the first. Of course, this needs some checks for making sure that none of the components to merge is eventually shared with something else. * Fix copyright year |
||
---|---|---|
.. | ||
kvt_delta | ||
kvt_desc | ||
kvt_init | ||
kvt_tx | ||
kvt_walk | ||
kvt_api.nim | ||
kvt_constants.nim | ||
kvt_debug.nim | ||
kvt_delta.nim | ||
kvt_desc.nim | ||
kvt_init.nim | ||
kvt_layers.nim | ||
kvt_persistent.nim | ||
kvt_tx.nim | ||
kvt_utils.nim | ||
kvt_walk.nim |