Wilfred / difftastic

a structural diff that understands syntax 🟥🟩

Home Page:https://difftastic.wilfred.me.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comparing two large HTML files make the memory use explode

iacore opened this issue · comments

When I compare the following two files, difft takes up all available memory (+10G) and then dies.

To reproduce:

  1. Download the two files here: https://gist.github.com/iacore/4f65f62650b26c4563fedb5e89395d4c/archive/2054d8f1e356d48c6babd8ddc2694fe73d8eefab.zip
  2. difft quirk.html quirk2.html

difft --version
Difftastic 0.55.0 (7fda26d 2024-01-30, built with rustc 1.75.0)