-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
LoroList
and LoroMutableList
do not implement the same API as python list
s. For API compatibility with the other Loro implementations, it makes sense to keep the current methods, but I suggest to implement additional methods:
append
remove
pop(i)
(currently LoroList.pop does not accept an index)index
__iter__
There are additional list methods which could be implemented:
extend
__add__
sort
reverse
These methods all deal with multiple objects or rearrangements and could be "costly" to perform on the underlying CRDT. Maybe it makes sense to not implement these methods, to discourage costly operations.
Metadata
Metadata
Assignees
Labels
No labels