difflib.HtmlDiff

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stefaan

    difflib.HtmlDiff

    Hello List,

    I am using difflib.HtmlDif f 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.

Working...