mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
* perf: Copy only the patched path when recreating transforms recreateTransform deep copied the whole document for each patch operation, and diffArrays compared elements with a generic isEqual. Copy only the containers on the operation path and compare with a JSON-only equality check. Revision changesets are about 6x faster. * Use fast-deep-equal in place of a custom JSON equality check * Restore isJSONEqual, fast-deep-equal throws on null-prototype attrs