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 mkorourk@adobe.com
Recipients mkorourk@adobe.com
Date 2011-04-01.21:25:38
SpamBayes Score 6.8218375e-11
Marked as misclassified No
Message-id <1301693139.57.0.361562219135.issue11740@psf.upfronthosting.co.za>
In-reply-to
Content
If you try to difference the attached files with difflib and a html difference it take 10 minutes or more. In comparison other differencing tools like windiff and araxis merge will show the diff within a second.

Example code I'm using is:


sourceText = open("source.xml", "rU").readlines()
targetText = open("target.xml", "rU").readlines()

html_diff = difflib.HtmlDiff(tabsize=4)
result = html_diff.make_file(sourceText, targetText, "Source", "Target", context=True, numlines=10)
f = open('c:/libdiff_html.html', 'w')
f.write(result)
finish()
History
Date User Action Args
2011-04-01 21:25:39mkorourk@adobe.comsetrecipients: + mkorourk@adobe.com
2011-04-01 21:25:39mkorourk@adobe.comsetmessageid: <1301693139.57.0.361562219135.issue11740@psf.upfronthosting.co.za>
2011-04-01 21:25:38mkorourk@adobe.comlinkissue11740 messages
2011-04-01 21:25:38mkorourk@adobe.comcreate