This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients heidar.rafn, jackdied, neologix
Date 2010-04-04.16:59:19
SpamBayes Score 0.0051363213
Marked as misclassified No
Message-id <1270400361.58.0.478226919691.issue6931@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2010-04-04 16:59:21neologixsetrecipients: + neologix, jackdied, heidar.rafn
2010-04-04 16:59:21neologixsetmessageid: <1270400361.58.0.478226919691.issue6931@psf.upfronthosting.co.za>
2010-04-04 16:59:19neologixlinkissue6931 messages
2010-04-04 16:59:19neologixcreate