automerge-repo
automerge-repo copied to clipboard
Lose extra diff
We are currently generating change patches by calling Automerge.diff
after each change. For an average change, this diff
takes ~35ms.
While this isn't a spectacularly long period of time, the rest of the change can sometimes only take a single digit ms amount of time. If we could somehow get the patches from the patchCallback
, this would likely speed up the whole transaction.
We could also get the change source at the same time.