rashid2538 / php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.
GNU General Public License v2.0
69 stars 48 forks source link

inefficient diff? #15

Open jamienk opened 10 years ago

jamienk commented 10 years ago

I run this on these two strings: 1) "Lot of words" 2) "not very many letters"

and I get the result:

Lotnot ofvery wordsmany letters

Instead of

Lot of wordsnot very many letters

Isn't this not very good?

alexsuter commented 10 years ago

Same Problem here. Can we optimize this?

iBorodai commented 9 years ago

+1 Same trouble

Renobird commented 9 years ago

Anyone know which of the forks may have solved this?