Wrong diff for long texts

248 views
Skip to first unread message

Aleś Bułojčyk

unread,
Apr 5, 2015, 10:09:15 AM4/5/15
to diff-mat...@googlegroups.com
Hi !

I'm using java version of google-diff-match-patch and it works great. But for long texts it generates wrong results.
It happen because diff_wordsToCharsMunge converts words to chars and uses index only as chars. But if I have more than 65536 words(char size limit), method diff_wordsToCharsMunge will work bad without any exceptions.

WBR, Alex.

Reply all
Reply to author
Forward
0 new messages