Skip to content

Interleaving can happen if you insert elements in reverse order into a list #395

Open
@pvh

Description

@pvh

Martin thinks this might not be a big deal in practice, but it is technically a breaking API change, so if we want to change that algorithm we need to slightly change the way we record insert operations by adding an extra field to the operations.

We should either fix this before 1.0 or at least put the extra field into the data format so that we don't need to do a second migration.

(We should probably just adopt the algorithm Y-js uses for this which is marginally more expensive but not significantly, so let's just standardize.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions