difflib.HtmlDiff

stefaan stefaan.himpe at gmail.com
Sat Jan 13 15:56:47 CET 2007


Hello List,

I am using difflib.HtmlDiff and it provides great functionality.
Unfortunately it is too slow for my purpose.

Is anyone aware of an alternative ?
- a C-implementation lying around somewhere ?
- perhaps an external tool into which I can pipe my data ?

Intra-line differences are important for my task at hand.

Does it make sense performance-wise to use e.g. GNU diff to generate a
line-by-line diff, then
use SequenceMatcher to find intraline changes?

Google is my friend, but so far it didn't turn up much practical
results :s

Thanks for any insights you may share.
Stefaan.




More information about the Python-list mailing list