OperationsCompressor

class OperationsCompressor(val resultTree: CLTree)

Constructors

Link copied to clipboard
constructor(resultTree: CLTree)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Optimize for bulk imports If a whole subtree is imported then there are a lot of operations where only the AddNewChildOp for the subtree root has the potential to cause any conflict. In that case we replace all of these operation with one AddNewChildSubtreeOp that references the resulting subtree in the new version. We don't lose any information and can reconstruct the original operations if needed.