Yjs state vector:修订历史

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2024年10月15日 (星期二)

2024年10月13日 (星期日)

  • 当前之前 14:382024年10月13日 (日) 14:38Riguz 留言 贡献 746字节 +746 创建页面,内容为“Yjs has the ability to exchange only the differences when syncing two clients. We use lamport timestamps to identify structs and to track in which order a client created them. Each struct has an <syntaxhighlight lang="java" inline>struct.id = { client: number, clock: number}</syntaxhighlight> that uniquely identifies a struct. We define the next expected clock by each client as the state vector. This data structure is similar to the version vectors data structu…”