Skip to content

encode delete op as negative numbers #4

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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