mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-05 20:17:13 +00:00
d6966aca34
* fix: tree should use jitter 0 by default Otherwise, there may be inconsistency between the event and the actual data. But this will increase the cost when the index property is not used. * chore: add changeset * chore: fix warning * refactor: enable tree move by default * docs: update related docs
406 B
406 B
loro-crdt |
---|
patch |
The fractional index in LoroTree is now enabled by default with jitter=0.
To reduce the cost of LoroTree, if the index
property in LoroTree is unused, users can still
call tree.disableFractionalIndex()
. However, in the new version, after disabling the fractional
index, tree.moveTo()
, tree.moveBefore()
, tree.moveAfter()
, and tree.createAt()
will
throw an error