Homestyx hydra
Diffusion hydra 884cd74cc4a5

In prose diffs, use hash-and-diff for coarse "level 0" diffing to scale better

Description

In prose diffs, use hash-and-diff for coarse "level 0" diffing to scale better

Summary: Depends on D20838. Fixes T13414. Instead of doing coarse diffing with "PhutilEditDistanceMatrix", use hash-and-diff with "DocumentEngine".

Test Plan:

  • On a large document (~3K top level blocks), saw a more sensible diff, instead of the whole thing falling back to "everything changed" mode.
  • On a small document, still saw a sensible granular diff.

{F6888249}

Maniphest Tasks: T13414

Differential Revision: https://secure.phabricator.com/D20839

Details

Provenance
epriestleyAuthored on Sep 25 2019, 5:48 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:9d884f144f01: Add "PhutilProseDiff" classes to "phabricator/"
Branches
Unknown
Tags
Unknown

Event Timeline