Skip to content

encode delete op as negative numbers #4

@dwelle

Description

@dwelle

Is there a reason why the lib doesn't encode delete ops as -10 instead of {d:10}? Saves three bytes if stored as string. If stored as binary, the benefits are even bigger I presume.

EDIT: just noticed that it was maybe added in anticipation of invert support (at the time I forked this lib to move to delete ops encoded as negative numbers, this was not the case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions