Skip to content

Commit

Permalink
Merge pull request #12 from laughinghan/patch-1
Browse files Browse the repository at this point in the history
Fix typo in README about invertability
  • Loading branch information
josephg committed Apr 19, 2018
2 parents c09a886 + d80324f commit 9df44f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The JSON OT type supports the following operations:

JSON0 is an *invertable* type - which is to say, all operations have an inverse
operation which will undo the original op. As such, all operations which delete
content add the content to be deleted inline in the operation.
content have the content to be deleted inline in the operation.

But its not perfect - here's a list of things it *cannot* do:

Expand Down Expand Up @@ -303,7 +303,7 @@ out into the share/ottypes library and its finally landed here.
The type uses the list-of-op-components model, where each operation makes a
series of individual changes to a document. Joseph now thinks this is a
terrible idea because it doesn't scale well to large operations - it has
(N<sup>2</sup> instead of 2N complexity).
N<sup>2</sup> instead of 2N complexity.

Jeremy and Joseph have talked about rewriting this library to instead make each
operation be a sparse traversal of the document. But it was obnoxiously
Expand Down

0 comments on commit 9df44f0

Please sign in to comment.