Charles-Francois Natali <neolo...@free.fr> added the comment:

This is because difflib.ndiff (called by difflib.HtmlDiff.make_table), 
contrarily to difflib.unified_diff (and probably kdiff3), doesn't restrict 
itself to contiguous lines, and searches diff even inside lines, so the 
complexity is much worse (see how many times _fancy_replace and quick_ratio are 
being called).
It might be a good idea to allow the user to specify the type of diff needed 
(ndiff vs unified_diff).

----------
nosy: +neologix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6931>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to