kpdecker / jsdiff

A javascript text differencing implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

diffLines never returning

maziac opened this issue · comments

Hi,

there seems to be a problem with big files/diffences.
I have here 2 files that differ very much.
1 file is 1 line only the other file is about 13000 lines.

In that case diffLines never returns.

I attached a project to reproduce.
textC is the long text.
If instead of textC the short textB is used everything works fine, but with textB diffLines never exits.

jsdiffproblem.zip